gitconfig: add aliases

This commit is contained in:
Rob Watson 2021-04-30 14:37:28 +02:00
parent 37dbd9d6e0
commit 9f49433dd9
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@
cl = clone
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
co = checkout
cob = !git checkout $(git branch | fzf)
cp = cherry-pick
d = diff
ds = diff --staged
@ -28,6 +29,7 @@
prs = diff --stat origin/master
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
rc = rebase --continue
rom = rebase origin/master
rr = !git reset --hard $(git rb)
shp = show -p
s = status