Created
May 26, 2022 20:42
-
-
Save landersonalmeida/2c5505b9804e2ed784aed40c5aa06d49 to your computer and use it in GitHub Desktop.
.gitconfig useful alias
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
[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