forked from giggio/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitconfig
More file actions
65 lines (65 loc) · 1.76 KB
/
Copy path.gitconfig
File metadata and controls
65 lines (65 loc) · 1.76 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
62
63
64
65
[user]
name = placeholder
email = placeholder@lambda3.com.br
[diff]
indentHeuristic = true
submodule = log
[color]
diff = always
interactive = always
status = always
branch = always
[alias]
st = status
ci = commit
co = checkout
br = branch
fixup = commit --all --amend --no-edit
open = !explorer `git config remote.origin.url`
browse = !git open
up = push upstream master
sync = pull upstream master --rebase
which = !git branch | grep -i
daily = !sh -c 'git log --since=yesterday --format=%s --author=\"`git config user.email`\"'
serve = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
graph = log --graph
ngrok = "!f() { \
NGROK_WAIT=${NGROK_WAIT:-1}; \
git serve & ngrok tcp 9418 > /dev/null 2>&1 & \
echo >&2 "Waiting $NGROK_WAIT seconds for git daemon and ngrok to start..."; \
sleep $NGROK_WAIT; \
public_url=$(curl -s http://localhost:4040/api/tunnels/command_line | jq -r '.public_url[3:]'); \
public_url="git$public_url/"; \
echo "Serving repo at: $public_url"; \
echo "Press CTRL C to stop."; \
sleep infinity; \
}; f"
[pull]
ff = only
[push]
default = simple
[log]
decorate = full
abbrevCommit = true
[format]
pretty=format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
[gui]
gcwarning = false
[commit]
gpgsign = true
[core]
#pager = diff-so-fancy | less --tabs=4 -RFX
pager = delta --dark
[diff "pandoc2md"]
textconv = pandoc --to=markdown
[diff "wrap"]
textconv = fmt
[diff "xlsx"]
textconv = python -m xlsx2csv
[diff "listzipfiles"]
textconv = unzip -l
[merge "npm-merge-driver"]
name = automatically merge npm lockfiles
driver = npx npm-merge-driver merge %A %O %B %P
[init]
defaultBranch = main