Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

58 lines (57 sloc) 1.643 kb
# vim: set ft=gitconfig :
[user]
name = Todd Eddy
email = user@example.com
[core]
# Set autocrlf to true if on windows
autocrlf = input
[color]
ui = auto
[diff]
# Disables the rename limit
renamelimit = 0
[alias]
br = branch
changelog = shortlog --no-merges --format=\"[%h] %s\"
ci = commit
cia = commit --amend
co = checkout
cpx = cherry-pick -x
datetag = "!f(){ date=$(date \"+%Y%m%d%H%M\") && git tag -a -m \"$date\" $date \"$@\" && echo Tagged $date; }; f"
datetags = "!f(){ date=$(date \"+%Y%m%d%H%M\") && git tag -s -m \"$date\" $date \"$@\" && echo Tagged $date; }; f"
df = diff
dfc = diff --cached
dfs = diff --name-status
dfw = diff --color-words
graph = log --graph --oneline
lg = log -p
lgs = log --oneline --decorate
pa = "!f(){ git pull --ff-only \"$@\" && git submodule update --init --recursive; }; f"
permission-reset = "!git diff -p -R | grep -E \"^(diff|(old|new) mode)\" | git apply"
pr = pull --rebase
prp = pull --rebase --prune
ps = push --recurse-submodules=check
restore = checkout --
sd = "!f(){ date=$(date \"+%Y-%m-%dT%H:%M:%S%z\") && git stash save \"$date $@\"; }; f"
si = submodule init
sl = stash list
sp = stash pop
sst = submodule status
st = status
sti = status --ignored
sts = status --short --branch
su = submodule update
sweep = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
ta = tag -a
ts = tag -s
unstage = reset HEAD --
[advice]
statusHints = false
[gc]
# Default is 6700 which can be a while
auto = 1024
[push]
# Only push the current branch to it's matching upstream branch
default = upstream
[log]
decorate = auto
Jump to Line
Something went wrong with that request. Please try again.