Add `git checkout -` alias

master
Jordan Atwood 1 year ago
parent e80e804e03
commit 564979b0c7
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 1
      src/.gitconfig

@ -14,6 +14,7 @@
[ $# -ne 2 ] && echo 'Two arguments required, PR # and branch name' && exit 1; \
git fetch upstream pull/$1/head:$2-$1 && git checkout $2-$1 && git merge master --no-gpg-sign --no-edit; \
}; f"
c- = checkout -
diffc = diff --cached
fixup = commit --amend --no-edit
fixup-a = commit -a --amend --no-edit

Loading…
Cancel
Save