-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
43 lines (43 loc) · 996 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
[user]
name = Collin Brittle
email = [email protected]
[alias]
s = status -sb
d = diff -w
g = grep -Ii
br = branch -vv
co = checkout
up = remote update -p
amend = commit --amend
# files not tracked? git d --no-index before.file after.file
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# delete remote branch = git push remote :branch
[color]
ui = auto
[diff]
# Consider changing to minimal, or default
algorithm = patience
[fetch]
prune = true
pruneTags = true
[fetch "fsck"]
zeroPaddedFilemode = warn
badTimezone = warn
[grep]
fallbackToNoIndex = true
lineNumber = true
patternType = perl
[help]
autoCorrect = 0
[init]
defaultBranch = main
[protocol "http"]
allow = never
[protocol "git"]
allow = never
[push]
default = current
[transfer]
fsckObjects = true
[core]
sshCommand = ssh.exe