gitconfig: add aliases
This commit is contained in:
parent
9f49433dd9
commit
0ce36c1f1d
|
@ -7,6 +7,7 @@
|
||||||
bn = rev-parse --abbrev-ref HEAD
|
bn = rev-parse --abbrev-ref HEAD
|
||||||
br = branch
|
br = branch
|
||||||
chp = checkout -p
|
chp = checkout -p
|
||||||
|
cf = !git commit --fixup $(git log --invert-grep --grep fixup -n1 --oneline --format=format:%h)
|
||||||
ci = commit
|
ci = commit
|
||||||
cl = clone
|
cl = clone
|
||||||
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
|
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
|
||||||
|
@ -14,6 +15,7 @@
|
||||||
cob = !git checkout $(git branch | fzf)
|
cob = !git checkout $(git branch | fzf)
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
d = diff
|
d = diff
|
||||||
|
dom = diff origin/master
|
||||||
ds = diff --staged
|
ds = diff --staged
|
||||||
f = fetch
|
f = fetch
|
||||||
fixup = rebase -i --autosquash
|
fixup = rebase -i --autosquash
|
||||||
|
|
Loading…
Reference in New Issue