Skip to content

Instantly share code, notes, and snippets.

@Cristuker
Last active June 13, 2022 11:26
Show Gist options
  • Save Cristuker/3301532299340c95083f1377b2528db2 to your computer and use it in GitHub Desktop.
Save Cristuker/3301532299340c95083f1377b2528db2 to your computer and use it in GitHub Desktop.
My git configs
[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
@Cristuker
Copy link
Author

git config --global --edit
git config --global core.editor code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment