git: Update aliases.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
unmodify = "checkout --"
|
unmodify = "checkout --"
|
||||||
ignore-changes = "update-index --assume-unchangend"
|
ignore-changes = "update-index --assume-unchangend"
|
||||||
unignore-changes = "update-index --no-assume-unchanged"
|
unignore-changes = "update-index --no-assume-unchanged"
|
||||||
visual = "!gitk"
|
visual = "!gitk --all"
|
||||||
staged = "diff --staged"
|
staged = "diff --staged"
|
||||||
|
|
||||||
co = "checkout"
|
co = "checkout"
|
||||||
@@ -18,6 +18,7 @@
|
|||||||
rb = "rebase"
|
rb = "rebase"
|
||||||
rbi = "rebase -i"
|
rbi = "rebase -i"
|
||||||
df = "diff"
|
df = "diff"
|
||||||
|
gr = "! git graph"
|
||||||
|
|
||||||
k = "!gitk --all"
|
k = "!gitk --all"
|
||||||
|
|
||||||
@@ -29,7 +30,7 @@
|
|||||||
|
|
||||||
pushall = "!sh -c 'for r in $(git remote) ; do [[ "$r" != "upstream" ]] && { echo \"--- [$r] ---\" ; git push $r \"$@\" ; } ; 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
|
graph = log --graph --pretty=format:'%C(yellow)%h%Creset%C(bold red)% D%Creset %C(green)(%cr) %C(blue)%an<%ae>%Creset%n %C(bold white)%s%Creset' --all
|
||||||
|
|
||||||
intercommit = !bash -c 'interdiff <(git show $1) <(git show $2) | less -FRS' -
|
intercommit = !bash -c 'interdiff <(git show $1) <(git show $2) | less -FRS' -
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user