Created
January 12, 2022 19:43
-
-
Save itsbetma/a350dca5eb20e07e4b90d7372b64da45 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] | |
email = my@email.awesome | |
name = Marco Antonio Bet | |
[core] | |
autocrlf = input | |
editor = vim | |
[alias] | |
ss = !git status -sb | |
ll = !git log --pretty=format:'%C(blue)%h %C(cyan)%ae %C(green)%cr%C(red)%d %C(white)%s' | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
ac = !git add -A && git commit -m | |
ck = checkout | |
ckb = checkout -b | |
staging = !git fetch && git checkout origin/staging | |
main = !git fetch && git checkout origin/main | |
amend = !git add -A && git commit -a --amend --no-edit | |
rename = !git add -A && git commit -a --amend | |
save = !git add -A && git commit -m 'SAVEPOINT' | |
restore = reset HEAD~1 --mixed | |
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment