Skip to content

Instantly share code, notes, and snippets.

@spooky
Created September 21, 2015 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spooky/6db9791f5ae5ede36821 to your computer and use it in GitHub Desktop.
Save spooky/6db9791f5ae5ede36821 to your computer and use it in GitHub Desktop.
[branch]
autosetuprebase = always
[color]
ui = auto
[alias]
st = status
br = branch
#l = log --pretty=tformat:"%C(yellow)%h\\ %ad%Creset\\ |\\ %s%C(cyan)\\ [%an]\\%Cred%d%Creset" --decorate --graph --abbrev-commit --date=relative
hl = log --pretty=tformat:"%C(yellow)%h\\ %Cgreen(%ad)%Creset\\ -\\ %s%C(cyan)\\ [%an]\\%Cred%d%Creset" --decorate --graph --abbrev-commit --date=relative
ll = log --pretty=tformat:"%C(yellow)%h%Cred%d\\ %Creset%s%C(cyan)\\ [%an]" --decorate --numstat -1
l = "!f() { git --no-pager hl -$((`tput lines`/3)) $@; }; f"
subup = submodule update --init --recursive
sdiff = "diff --staged"
ann = "blame -w -M -C --date=relative"
[core]
editor = vim
autocrlf = input
[merge]
summary = true
verbosity = 1
[push]
default = simple
[diff]
ignore-space-change = true
ignore-all-space = true
[rebase]
autosquash = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment