forked from justjake/Dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
30 lines (30 loc) · 1.25 KB
/
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
28
29
30
# git config
[user]
name = Grantland Hall
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
[alias]
# 'add all' stages all new+changed+deleted files
aa = !git ls-files -d | xargs -r git rm && git ls-files -m -o --exclude-standard | xargs -r git add
st = status
ci = commit
co = checkout
br = branch
lg = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
gud = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
[core]
excludesfile = ~/.dotfiles/gitignore_global
[github.com]
user = ghallsimpsons
[push]
default = current
[url "[email protected]:SouthPoleTelescope/"]
insteadOf = spt:
[url "ssh://bolowiki:/pbrepo/"]
insteadOf = pb: