Last active
April 6, 2021 11:51
-
-
Save leandroandrade/1ffc88a2bb79205cb5378516f13bc8af to your computer and use it in GitHub Desktop.
Git aliases
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
[user] | |
name = username | |
email = email | |
[github] | |
user = username_github | |
[alias] | |
i = init | |
a = add | |
ca = commit -a | |
cam = commit -am | |
cm = commit -m | |
s = status | |
pom = push origin main | |
pog = push origin gh-pages | |
puom = pull origin main | |
puog = pull origin gh-pages | |
cob = checkout -b | |
co = checkout | |
fp = fetch --prune --all | |
l = log --oneline --decorate --graph | |
lall = log --oneline --decorate --graph --all | |
ls = log --oneline --decorate --graph --stat | |
lt = log --graph --decorate --pretty=format:'%C(yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an%Creset' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment