forked from Elemecca/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
31 lines (25 loc) · 800 Bytes
/
gitconfig
File metadata and controls
31 lines (25 loc) · 800 Bytes
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
[user]
name = Robert Avery
email = daranable@gmail.com
[core]
excludesfile = ~/.gitignore
whitespace = tabwidth=4
[push]
default = upstream
[pull]
rebase = false
[alias]
pr = "! git fetch $1 +refs/pull/$2/head:refs/remotes/$1/pr/$2 && git checkout -B l-pr-$2 $1/pr/$2 #"
unpr = "! git branch -Dr $1/pr/$2 && git branch -D l-pr-$2 #"
bdiff = "! remote=$1; local=$2; shift; shift; git diff `git merge-base $remote $local` $local"
shorthash = rev-list -n 1 --abbrev=12 --abbrev-commit
[color]
ui = auto
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
# force all GitHub access to use SSH instead of HTTPS
[url "ssh://git@github.com"]
insteadOf = https://github.com