-
Notifications
You must be signed in to change notification settings - Fork 16
/
.gitconfig
42 lines (42 loc) · 1.03 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
31
32
33
34
35
36
37
38
39
40
41
42
[user]
email = [email protected]
name = Tony Narlock
[color]
diff = auto
branch = auto
status = auto
ui = true
[diff]
tool = vimdiff
[difftool]
prompt = false
[push]
default = simple
autoSetupRemote = true
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore_global
quotepath = false
pager = less -r
[web]
browser = google-chrome
[url "ssh://[email protected]/tony"]
insteadOf = https://github.com/tony
# Disable for bitbucket, gives prompts.
#[url "ssh://[email protected]/"]
# insteadOf = https://bitbucket.org/
[pull]
rebase = false
# [blame]
# ignoreRevsFile = .git-blame-ignore-revs
[init]
defaultBranch = master
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[alias]
sweep = ! git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D