-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
27 lines (27 loc) · 999 Bytes
/
gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[alias]
aliases = ! git config --list | grep alias
amend = commit --amend
commits = log --pretty=format:'%Cred%h%Creset - %G? -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
graph = log --graph --pretty=format:'%Cred%h%Creset - %G? -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
join = merge --no-ff
recall = stash show -p
recent = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(refname:short)'
rollback = reset HEAD^
search = "!f1() { git log --all --grep=$1; }; f1"
track = update-index --no-assume-unchanged
unstage = reset HEAD --
untrack = update-index --assume-unchanged
[core]
editor = /usr/local/bin/vim
excludesfile = /Users/me/.gitignore
[help]
autocorrect = 1
[ui]
color = true
[merge]
tool = vimdiff
[user]
email = [email protected]
name = Michael Avila
[commit]
gpgsign = true