Last active
December 8, 2022 00:02
-
-
Save vinifig/2dd8468b6049e33884b647e1a0f6db78 to your computer and use it in GitHub Desktop.
my git config template
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 = <user> | |
email = <mail> | |
[alias] | |
co=checkout | |
st=status | |
up = !git fetch origin && git pull --rebase origin main | |
upto = !git fetch origin && git pull --rebase origin | |
sup = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD` | |
ammend = !git add -A; git commit --ammend --no-edit | |
[push] | |
default = current | |
[init] | |
defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment