-
-
Save miku/071f358e4ef05ea351f3 to your computer and use it in GitHub Desktop.
Suggestion for your $HOME/.gitconfig
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] | |
pager = less -FRSX # http://explainshell.com/explain?cmd=less+-FRSX | |
editor = vim | |
preloadindex = true # Enable parallel index preload for operations like git diff | |
compression = 9 | |
[color] | |
ui = auto | |
[alias] | |
ci = commit | |
st = status | |
br = branch | |
co = checkout | |
df = diff | |
who = shortlog -s -- | |
todo = grep --heading --break --ignore-case -e ' FIX: *' -e ' TODO: *' | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
type = cat-file -t | |
dump = cat-file -p | |
oneline = log --pretty=oneline | |
tree = log --graph --pretty=oneline --decorate | |
authors = shortlog -sn | |
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git | |
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
[instaweb] | |
local = true | |
httpd = webrick | |
port = 1234 | |
browser = firefox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment