Last active
April 13, 2021 14:13
-
-
Save gerjunior/84eb6603fcd1d542c628bd7c694d7dab to your computer and use it in GitHub Desktop.
My git global configuration
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 = Geraldo Júnior | |
email = geraldojuni@hotmail.com | |
username = gerjunior | |
signingkey = ${GITHUB_SSH_SIGNING_KEY} | |
[credential] | |
helper = store | |
[hub] | |
protocol = https | |
[core] | |
excludesFile = ~/.gitignore | |
editor = code --wait | |
[alias] | |
cmtd = "!f() { git commit -m \"$@\" && git push origin HEAD; }; f" | |
cm = commit -m | |
comoji = "!f() { gitmoji -c; }; f" | |
acd = "!commitAdd() { git add .; gitmoji -c; }; commitAdd && git deploy" | |
cl = !git clone https://github.com/$1 | |
deploy = push origin HEAD | |
lg = log --all --graph --decorate --oneline --abbrev-commit | |
pull = pull origin HEAD | |
st = status | |
co = checkout | |
del = branch -D | |
[commit] | |
gpgsign = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment