-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
28 lines (28 loc) · 967 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
# Private data moved to ~/.secrets env vars
[github]
user = psimonazzi
# token = ???
[user]
name = ps
email = [email protected]
[core]
autocrlf = input
safecrlf = true
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
[alias]
hist = log --pretty=format:\"%ad [%h]%d %s\" --graph --date=short
l = log --graph --date=short
changes = log --pretty=format:\"%h %cr %cn %Cgreen%s%Creset\" --name-status
short = log --pretty=format:\"%h %cr %cn %Cgreen%s%Creset\"
changelog = log --pretty=format:\" * %s\"
shortnocolor = log --pretty=format:\"%h %cr %cn %s\"
unstage = reset HEAD # remove files from index (tracking)
uncommit = reset --soft HEAD^ # go back before last commit, with files in uncommitted state
filelog = log -u # show changes to a file
mt = mergetool # fire up the merge tool
[color]
ui = true
[merge]
summary = true
verbosity = 1