File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1414 commit-id = " ! f() { commit=${1:- HEAD} ; git log -1 --patch $commit | git patch-id | cut -d' ' -f1; }; f "
1515 cp = cherry-pick
1616 dt = difftool -M
17- fixup = " ! f() { base=${1:- 2} ; git reset --soft HEAD~$base && git commit -C ORIG_HEAD~$( expr $base - 1) ; }; f "
1817 fp = fetch --all --prune
1918 has = branch -a --contains
2019 id = rev-parse --short HEAD
3332 ri = rebase -i -p
3433 rs = remote -v show
3534 ru = reset --hard @{u}
35+ sq = " ! f() { amount=${1:- 2} ; git reset --soft HEAD~$amount && git commit -m \" $( git log --format=%B --reverse HEAD..HEAD@{1}) \" --edit; }; f "
3636 st = status
3737 unpushed = log --branches --not --remotes --simplify-by-decoration --decorate --oneline
3838 up = " ! f() { upstream=${1:- upstream/ master} ; head=${2:- HEAD} ; git log --cherry --oneline $upstream ...$head ; }; f "
You can’t perform that action at this time.
0 commit comments