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