Last active
May 16, 2022 15:49
-
-
Save vincelee888/535de8f5e662a59762c952f175407305 to your computer and use it in GitHub Desktop.
This file contains 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
[user] | |
name = vince | |
email = vince@ | |
[alias] | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
co = checkout | |
br = branch | |
ci = commit | |
st = status | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
up = pull --rebase | |
save = !git add -A && git commit -m SAVEPOINT --no-verify | |
unsave = !git reset HEAD~1 | |
bin = !git add -A && git checkout -f | |
park = !git checkout -b 'parked' && git add -A && git commit -m 'parked' --no-verify | |
unpark = !git merge parked && git branch -d parked && git reset HEAD~1 | |
tidylocal = !git branch | grep -v -E 'master|main|trunk' | xargs git branch -D | |
[init] | |
defaultBranch = trunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git aliases, some courtesy of @garymcleanhall