You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
[core]
|
|
editor = vim
|
|
excludesfile = ~/.gitignore
|
|
[color]
|
|
branch = auto
|
|
diff = auto
|
|
interactive = auto
|
|
status = auto
|
|
ui = auto
|
|
[user]
|
|
name = Buddy Sandidge
|
|
email = buddysandidge@gmail.com
|
|
[alias]
|
|
br = branch
|
|
ci = commit
|
|
co = checkout
|
|
cp = cherry-pick
|
|
df = diff
|
|
st = status -sb
|
|
p = !git fetch --all && git fetch --tags && git pull && git submodule update
|
|
sup = submodule update
|
|
com = checkout master
|
|
cod = checkout develop
|
|
file = show --pretty="format:" --name-only
|
|
glog = !git log --pretty=oneline | grep
|
|
dpull = !git svn fetch && git svn rebase
|
|
dcommit = svn dcommit
|
|
lg = log --graph --pretty=format:'%Cred%h%Creset %s%Cred%d%Creset %Cgreen(%cr by %cN)%Creset'
|
|
fix-last-commit = commit --amend
|
|
flc = fix-last-commit
|
|
rmbr = push origin --delete
|
|
# http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
|
|
list = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
|
|
ls = list
|
|
long-list = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
|
|
ll = long-list
|
|
list-date-stap = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
|
|
lds = list-date-stap
|