From 9f49433dd9e5e682f6ce1a98c08cddee410c1fd8 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Fri, 30 Apr 2021 14:37:28 +0200 Subject: [PATCH] gitconfig: add aliases --- gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitconfig b/gitconfig index cf1c326..ee61b5c 100644 --- a/gitconfig +++ b/gitconfig @@ -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