Add git logp
This commit is contained in:
parent
b60984341e
commit
ff8bc9d4fe
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
||||||
[alias]
|
[alias]
|
||||||
pushall = !git remote | xargs -L1 git push --all
|
pushall = !git remote | xargs -L1 git push --all
|
||||||
pr = "!f() { git fetch -fu ${2:-$(git remote |grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
|
pr = "!f() { git fetch -fu ${2:-$(git remote |grep ^upstream || echo origin)} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"
|
||||||
pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"
|
logp = "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
|
||||||
|
pr-clean = "!git for-each-ref refs/heads/pr/* --format='%(refname)' | while read ref ; do branch=${ref#refs/heads/} ; git branch -D $branch ; done"
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
excludesfile = /Users/acicchetti/.gitignore
|
excludesfile = /Users/acicchetti/.gitignore
|
||||||
|
|
Loading…
Add table
Reference in a new issue