Last active
September 26, 2020 14:05
-
-
Save ZeevKatz/6ebae8d927cef30395cc4c1d1d93763c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
st = status | |
s = switch | |
cp = cherry-pick | |
cpc = cherry-pick --continue | |
cps = cherry-pick --skip | |
cpa = cherry-pick --abort | |
rbc = rebase --continue | |
rbs = rebase --skip | |
rba = rebase --abort | |
bm = "!f() { git branch -m "$1"; }; f" | |
fua = "!f() { git add . && git commit --fixup="$1"; }; f" | |
fu = "!f() { git commit --fixup="$1"; }; f" | |
ir = "!f() { git rebase -i head~"$1"; }; f" | |
rs = "!f() { git restore --staged "$1"; }; f" | |
ras = restore . --staged | |
puh = push -u origin head | |
wip = commit -am WIP --no-verify | |
fr = "!f() { git fetch && git rebase origin/"$1"; }; f" | |
amend = commit --amend --no-edit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment