-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
41 lines (41 loc) · 1.15 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
#
# sudo apt install libsecret-1-0 libsecret-1-dev libglib2.0-dev
# sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
#
# Un/Set password cache commands
# git config --global --unset credential.helper
# git config --global credential.helper cache
# Store pass forever
# git config --global credential.helper store
[user]
name = Sohaib Mohamed
email = [email protected]
[core]
editor = vim
trustctime = false
[pretty]
fixes = Fixes: %h (\"%s\")
[alias]
g = log --oneline --decorate --graph --all
ack = -c color.grep.linenumber=\"bold yellow\"\n \t-c color.grep.filename=\"bold green\"\n\t-c color.grep.match=\"reverse yellow\"\n\tgrep --break --heading --line-number
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep
one = log --pretty=oneline
f = log -1 --pretty=fixes
[pull]
rebase = true
[merge]
tool = kdiff3
conflictstyle = diff3
[mergetool]
prompt = false
[sendemail]
smtpuser = [email protected]
smtpserver = smtp.gmail.com
smtpencryption = tls
smtpserverport = 587
suppresscc = self
chainreplyto = false
confirm = always
annotate = true
[credential]
helper = store