Last active
August 11, 2020 03:15
-
-
Save wolfeidau/35e83a3a0c097535d3b01fa85c25e6ae to your computer and use it in GitHub Desktop.
Git aliases I currently use
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
[alias] | |
amend = !git add -A && git commit --amend --no-edit | |
p = !git push origin $(git rev-parse --abbrev-ref HEAD) | |
c = "!git add -A && git commit -m " | |
cc = "!git commit --amend -m " | |
co = !git checkout | |
f = !git fetch --all && git rebase origin/master | |
authors = shortlog --summary --email --numbered | |
l = log --graph --pretty=format:'%Cred%h%Creset -%C(green)%d%Creset %s %C(yellow)(%cr) %C(blue)<%an>%Creset' | |
[core] | |
excludesfile = /home/markw/.gitignore_global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment