-
Notifications
You must be signed in to change notification settings - Fork 23
/
gitconfig
59 lines (46 loc) · 1.31 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[user]
name = Adam Stankiewicz
email = [email protected]
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMtoahqj/uLntDiJicWzGGHhyxMy7yrrRmZdFdIhqJrw [email protected]"
#[commit]
#gpgsign = true
#[tag]
#gpgsign = true
#[gpg]
#format = ssh
[gpg "ssh"]
allowedSignersFile = /Users/sheerun/.ssh/allowed_signers
[core]
whitespace = warn,space-before-tab,trailing-space
excludesfile = ~/.gitignore
pager = less -x3,2
[alias]
st = status -sb
ci = commit
br = branch -vv
co = checkout
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
cp = cherry-pick
stash-staged = "!bash -c \"git stash --keep-index; git stash push -m \"staged\" --keep-index; git stash pop stash@{1}\""
move-staged = "!bash -c \"git stash-staged;git commit -m \"temp\"; git stash; git reset --hard HEAD^; git stash pop\""
[color]
ui = true
[push]
default = current
followTags = true
[rerere]
enabled = true
[url "[email protected]:"]
pushInsteadOf = "git://github.com/"
pushInsteadOf = "https://github.com/"
[url "ssh://[email protected]/"]
insteadOf = https://git.heroku.com/
[pull]
rebase = false
[init]
defaultBranch = master
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f