Last active
June 13, 2022 11:26
-
-
Save Cristuker/3301532299340c95083f1377b2528db2 to your computer and use it in GitHub Desktop.
My git configs
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 = cristian123105@gmail.com | |
name = Cristian Silva | |
[core] | |
editor = code --wait | |
[alias] | |
s = !git status -s # git status whit less information | |
c = !git add --all && git commit -m #git add and git commit alias | |
l = !git log --pretty=format:'%C(blue)%h %C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr' #Format git log message | |
[includeIf "gitdir:~/work/"] | |
path = ~/work/.gitconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git config --global --edit
git config --global core.editor code