-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
57 lines (55 loc) · 1.27 KB
/
gitconfig
File metadata and controls
57 lines (55 loc) · 1.27 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
[push]
default = simple
[pull]
ff = only
[user]
email = hey@avacariu.me
name = Andrei Vacariu
[core]
editor = vim -c 'startinsert'
excludesfile = ~/.gitignore
longpaths = true
[merge]
conflictstyle = zdiff3
[rebase]
autosquash = true
[diff]
algorithm = histogram
[credential]
helper = /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring
[alias]
st = status
ci = commit
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f"
lg = log -p
lo = log --oneline
who = shortlog -s --
k = !gitk
root = rev-parse --show-toplevel
unstage = reset HEAD --
amend = commit --amend
prune = fetch --prune
stash-all = stash save --include-untracked
glog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
undo = reset --soft HEAD^
[commit]
verbose = true
[status]
showuntrackedfiles = all
[pager]
status = true
[includeIf "gitdir:~/dev/"]
path = ~/dev/gitconfig
[init]
defaultBranch = main
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckobjects = true
[bash]
showDirtyState = true
showUntrackedFiles = true
[include]
path = ~/.gitconfig_local