Last active
January 15, 2017 05:39
-
-
Save nlitwin/40860e325926a2125bc49af1b34efabf to your computer and use it in GitHub Desktop.
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] | |
# Show verbose output about tags, branches or remotes | |
tags = tag -l | |
brs = branch -a | |
br = branch | |
remotes = remote -v | |
# Pretty log output | |
hist = log --graph --pretty=format:'%Cred%h%Creset %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset [%an]' --abbrev-commit --date=relative | |
st = status | |
ci = commit | |
co = checkout | |
[color] | |
# Use colors in Git commands that are capable of colored output when outputting to the terminal | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow | |
frag = magenta | |
old = red bold | |
new = green | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
# Use `origin` as the default remote on the `master` branch in all cases | |
[branch "master"] | |
remote = origin | |
merge = refs/heads/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment