-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
executable file
·47 lines (47 loc) · 1.39 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
[user]
email = bryonpieter@gmail.com
name = Pieter Bryon
excludesfile = /home/.gitignore
[core]
autocrlf = input
excludesfile = /home/.gitignore
safecrlf = false
filemode = false
[color]
ui=always
[log]
abbrevCommit=true
date = local
[status]
showUntrackedFiles=all
[alias]
ahead = !git rev-list --count HEAD ^${MAIN_BRANCH} || echo '> Try MAIN_BRANCH=<branch> git ahead'
back = ! git checkout - 2>/dev/null || echo No previous branch!
behind = ! git rev-list --count ${MAIN_BRANCH} ^HEAD || echo '> Try MAIN_BRANCH=<branch> git behind'
delete = branch -d
dropremote = push origin --delete
history = log -p --follow
latest = show HEAD
new = checkout -b
rename = branch -m
resetfile = ! git checkout \"origin/${MAIN_BRANCH}\" \"$1\" || echo '> Try MAIN_BRANCH=<branch> git resetfile' >&2
skip = update-index --skip-worktree
skipped = ! git ls-files -v . | grep ^S
squash = merge --squash
unskip = update-index --no-skip-worktree
fresh = ! git pull && git checkout -b
yank = ! git reset --hard && git pull
tags = ! git tag --list --color=always -n99 \"$1*\"
[push]
default = simple
[commit]
verbose = true
[fetch]
prune = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = store