Update git aliases.
This commit is contained in:
@@ -15,13 +15,22 @@
|
||||
st = "status"
|
||||
br = "branch"
|
||||
rb = "rebase"
|
||||
rbi = "rebase -i"
|
||||
df = "diff"
|
||||
|
||||
k = "!gitk --all"
|
||||
|
||||
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
|
||||
|
||||
last = "log -1 HEAD"
|
||||
|
||||
logl = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
||||
|
||||
pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r $1 ; } ; done' -"
|
||||
pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r \"$@\" ; } ; done' -"
|
||||
|
||||
graph=log --graph --pretty=format:'%C(yellow)%h%Creset%C(bold red)% D%Creset %C(green)(%cr) %C(blue)[%an]%Creset%n %C(bold white)%s%Creset' --all
|
||||
|
||||
intercommit = !bash -c 'interdiff <(git show $1) <(git show $2) | less -FRS' -
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
|
||||
Reference in New Issue
Block a user