Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save landersonalmeida/2c5505b9804e2ed784aed40c5aa06d49 to your computer and use it in GitHub Desktop.
Save landersonalmeida/2c5505b9804e2ed784aed40c5aa06d49 to your computer and use it in GitHub Desktop.
.gitconfig useful alias
[core]
editor = code --wait
[user]
email = {your_email}
[push]
followTags = true
[alias]
c = !git add --all && git commit -m
s = !git status -s
l = !git log --pretty=format:'%C(blue)%h%C(red)%d %C(white)%s - %C(cyan)%cn, %C(green)%cr'
amend = !git add --all && git commit --amend --no-edit
count = !git shortlog -s --grep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment