-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
61 lines (60 loc) · 2.01 KB
/
gitconfig
File metadata and controls
61 lines (60 loc) · 2.01 KB
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
60
61
[user]
email = dev@sdht.in
name = Siddhartha Sahu
[alias]
ls = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit
lsa = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit --all
ll = log --color --graph --pretty=format:'%C(red)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)%an <%ae>%Creset' --abbrev-commit --all --numstat
cmau = !git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend
co = checkout
bd = branch -d
bdf = branch -D
[sendemail]
from = Siddhartha Sahu <sh.siddhartha@gmail.com>
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = sh.siddhartha@gmail.com
smtppass =
chainreplyto = false
[init]
defaultBranch = main
[help]
autocorrect = prompt # Confirm before running autocorrected command
[push]
default = simple
autoSetupRemote = true
followTags = true # Push all local tags to the server, every time you push anything
[color]
ui = auto
[credential]
helper = cache
[pull]
rebase = true
ff = only
[merge]
conflictstyle = zdiff3
[branch]
sort = -committerdate # Sorts the branch list by the most recent commit date
[tag]
sort = version:refname # Treat dotted version numbers as a series of integer values for sorting tags
[diff] # More semantic diffs
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[fetch] # Prune stuff that’s gone
prune = true
pruneTags = true
all = false
[rerere] # Reuse recorded resolutions
enabled = true
autoupdate = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[log]
date = iso-local
[include]
path = ~/.config/dotfiles.safe/gitconfig/overrides