t = tag
p = push
pu = push
- ru = remote update
+ # Parallel git remote update. Also strips unnecessary output.
+ ru = "! git remote \
+ | xargs -d '\\n' -n1 -P0 git remote update 2>&1 \
+ | sed '/^$/d; \
+ /^Please make sure you have the correct access rights$/d; \
+ /^and the repository exists\\.$/d;'"
+ # Push to all remotes. Thanks to albel727 in #git on Freenode
+ # (2011-06-04 16:06 CEST) for the idea. Modified to push in parallel
+ # and to strip unnecessary output.
+ rp = "! git remote \
+ | xargs -d '\\n' -n1 -P0 git push 2>&1 \
+ | sed '/^$/d; \
+ /^Please make sure you have the correct access rights$/d; \
+ /^and the repository exists\\.$/d;'"
## Patches.
fp = format-patch
## Maintenance.
#
# tig-like log view.
glog = log --pretty=oneline --graph --all
- # Push to all remotes. Thanks to albel727 in #git on Freenode
- # (2011-06-04 16:06 CEST) for the idea.
- rp = ! git remote | xargs -L1 -I{} git push {}
[diff]
# Detect copies and renames.