-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
46 lines (46 loc) · 1013 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[user]
name = Mathew Attlee
email = [email protected]
[push]
default = simple
[branch]
autosetuprebase = always
[core]
excludesfile = ~/.ignore
autocrlf = input
ignorecase = false
pager = less
[alias]
amend-date = commit --amend --reset-author
bm = branch -m
ca = commit -a
co = checkout
cob = checkout -b
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbs = rebase --skip
rbi = rebase --interactive
s = status -s
sync-fork = !git fetch upstream && git checkout master && git merge upstream/master
unstage = reset HEAD --
undo = reset --soft HEAD~1
[credential]
helper = osxkeychain
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[mergetool]
keepBackup = false
[diff]
tool = vimdiff
[difftool]
prompt = false
[merge]
tool = vimdiff
[rebase]
autoStash = true
instructionFormat = <%ae> %s
[init]
defaultBranch = main