-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
28 lines (28 loc) · 774 Bytes
/
Copy pathgitconfig
File metadata and controls
28 lines (28 loc) · 774 Bytes
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
[user]
name = Chris Heuer
email = cheuer@gmail.com
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%C(auto)%>|(20)%h %ad | %s%d %Cblue[%an]\" --graph --date=relative
type = cat-file -t
dump = cat-file -p
unstage = reset HEAD .
chmod = update-index --chmod
delete-merged = "!f() { git branch --merged | grep -v '\\*\\|master\\|main' | xargs -n 1 git branch -d; }; f"
alias = "! git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\ =\\ /"
filetypes = "! git ls-files | sed -n 's/.*\\.\\([^.\\/]*\\)$/\\1/p' | sort | uniq -c | sort -rn"
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = auto
pager = true
[push]
default = simple
autoSetupRemote = true
[core]
fscache = true