Skip to content

Instantly share code, notes, and snippets.

@fnoquiq
Created August 5, 2021 21:48
Show Gist options
  • Save fnoquiq/d261a1cdc5cc62237ab7913d61367ebd to your computer and use it in GitHub Desktop.
Save fnoquiq/d261a1cdc5cc62237ab7913d61367ebd to your computer and use it in GitHub Desktop.
Git alias configuration
git config --global --edit
git config --global core.editor code
git config --global --edit

.gitconfig

[user]
	email = gabrielteixeiramesquita@gmail.com
	name = Gabriel Mesquita
[core]
	editor = code --wait
[alias]
	s = !git status -s
	c = !git add --all && git commit -m
	l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment