-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_gitconfig
More file actions
34 lines (34 loc) · 792 Bytes
/
_gitconfig
File metadata and controls
34 lines (34 loc) · 792 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
29
30
31
32
33
34
[diff]
tool = diffuse
[difftool]
prompt = false
[alias]
ff = difftool -y
cached = difftool -y --cached
force = push --force
co = checkout
ci = commit
b = branch
gr = grep --color
dstat = diff --stat
dup = diff --name-status
st = status --un=no
track = !sh -c 'git branch --track "$0" "$1" && git checkout "$0"'
quick-amend = commit --amend --no-edit
align = !sh -c 'git pull --ff-only "$0" "$1"'
upstream = !sh -c 'git align upstream `git branch --show-current`'
set-date = !sh -c 'git quick-amend --date="\"$(date -R)\""'
[color]
ui = true
[core]
excludesfile = /home/ygal/.gitignore
autocrlf = input
[user]
name = Ygal Blum
email = ygal.blum@gmail.com
[push]
default = simple
[apply]
ignorewhitespace = change
[init]
defaultBranch = main