aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-10-05 23:03:42 +0100
committerBlake Romero <blake@blkrom.com>2025-10-05 23:03:42 +0100
commit98e615ef6aec4efd46c8fab3e942451504f40c01 (patch)
tree2563dd076bca9201d853ea82dfe2bf0eac37cc25
parenta330f130b8fdd94fea421fad1b3d96270c631e80 (diff)
Add git pushall alias to push to all remotes
-rw-r--r--dot-config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot-config/git/config b/dot-config/git/config
index 94c3304..8efc821 100644
--- a/dot-config/git/config
+++ b/dot-config/git/config
@@ -14,6 +14,7 @@
unstage = restore --staged
untrack = rm --cached
uncommit = reset --soft HEAD^
+ pushall = !git remote | xargs -L1 git push --all
[pretty]
list = format:%C(auto)%h %C(magenta)%G? %C(blue)%<(10,trunc)%as %C(green)%<(12,trunc)%aN %C(auto)%s%C(cyan)% gD%d
more = format:%C(cyan)%D%n%C(yellow)Commit: %H%n%C(auto)Author: %>(13)%as %an <%ae>%n%C(auto)Committer: %cs %cn <%ce>%n%C(auto)Subject: %s%n%C(auto)%b%N