-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
51 lines (51 loc) · 1.3 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
42
43
44
45
46
47
48
49
50
51
# This is Git's per-user configuration file.
[user]
name = Gary Miguel
email = [email protected]
[http]
cookiefile = ~/.gitcookies
[grep]
extendedRegexp = true
[pager]
branch = false
[alias]
amend = commit --all --amend --no-edit
icd = icdiff
log-graph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
dt = difftool
rbc = rebase --continue
rbom = rebase origin/master
psh = push --force-with-lease
dlog = "!f() { : git log ; GIT_EXTERNAL_DIFF=difft git log -p --ext-diff $@; }; f"
difft = difftool --tool=difftastic
diffstash = difftool stash^!
[icdiff]
options = --line-numbers
[diff]
tool = vscode
[difftool]
prompt = false
[difftool "vscode"]
cmd = ~/bin/editor.sh --diff $LOCAL $REMOTE
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[merge]
tool = vscode
[mergetool "vscode"]
cmd = ~/bin/editor.sh --merge $REMOTE $LOCAL $BASE $MERGED
[log]
# opt in to new behavior to supress warning messages
mailmap = true
date = format-local:%Y-%m-%d %H:%M:%S
[pull]
ff = only
[push]
recurseSubmodules = check
default = current
[init]
defaultBranch = master
[advice]
setUpstreamFailure = false
skippedCherryPicks = false
[rebase]
autosquash = true