Last active
June 18, 2018 07:13
-
-
Save ManWithBear/70b34ec4c0c470a4330a299f512afc37 to your computer and use it in GitHub Desktop.
My git aliases
This file contains hidden or 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] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --graph --pretty=format:\"%Cred%h%Creset %Cred|%Creset %s%C(cyan)%d%Creset\" | |
histFull = log --graph --pretty=format:\"%Cred%h%Creset %ad %Cred|%Creset %s%C(cyan)%d %Cgreen(%cr) %Cblue[%an]%Creset\" --date=short | |
last = log -n1 --graph --pretty=format:\"%Cred%h%Creset %ad %Cred|%Creset %s%C(cyan)%d %Cgreen(%cr) %Cblue[%an]%Creset\" --date=short | |
changes = log --pretty=format:\"%s\" | |
type = cat-file -t | |
dump = cat-file -p | |
amend = commit --amend --no-edit | |
[pull] | |
[push] | |
default = simple | |
[pull] | |
[rerere] | |
enabled = true | |
[pull] | |
rebase = preserve | |
[help] | |
autocorrect = 0 | |
[filter "lfs"] | |
clean = git-lfs clean -- %f | |
smudge = git-lfs smudge -- %f | |
process = git-lfs filter-process | |
required = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PS1='\[\e[31m\][\[\e[0m\]\W$(__git_ps1 " (\[\e[36m\]%s\[\e[0m\])")\[\e[31m\]]\[\e[0m\]\$ '