Fix push-all and fetch-all git commands
This commit is contained in:
parent
7772c2dde6
commit
b26de99ab8
1 changed files with 2 additions and 2 deletions
|
@ -8,9 +8,9 @@
|
|||
autocrlf = input
|
||||
[alias]
|
||||
# pushes to all remotes (currently lacking a way to specify ref name, it will push EVERYTHING)
|
||||
push-all = '!git remote | xargs -L1 git push --all'
|
||||
push-all = !git remote | xargs -L1 git push --all
|
||||
# fetches all remotes
|
||||
fetch-all = '!git remote | xargs -L1 git fetch'
|
||||
fetch-all = !git remote | xargs -L1 git fetch
|
||||
# prettier log command
|
||||
pretty-log = log --decorate --oneline --graph
|
||||
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
|
||||
|
|
Loading…
Add table
Reference in a new issue