-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig.symlink
55 lines (55 loc) · 1.89 KB
/
.gitconfig.symlink
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
[user]
name = Stephen Pennell
[init]
templatedir = ~/.git-template
[core]
excludesfile = ~/.gitignore_global
editor = 'vim'
[difftool "vscode"]
cmd = code --wait --diff \"$LOCAL\" \"$REMOTE\"
[difftool]
prompt = false
[mergetool]
prompt = false
[diff]
tool = vscode
[alias]
up = !"git fetch --all -v -p"
lg = log --all --graph --decorate --color
cdiff = !sh -c \"git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative ${1}..${2}\" -
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
unhide-all = update-index --really-refresh
hidden = !git ls-files -v | grep \"^[a-z]\"
ignored = !git status -s --ignored | grep \"^!!\"
pr = checkout-pull-request
remove-prs = !git branch -D $(git branch -l | grep 'pr/' | grep -v '*') 2>/dev/null || echo "Unable to delete PR branches."
ri = !GIT_EDITOR='code --reuse-window --wait' git rebase --interactive
mdr = merge-dry-run
files-changed = !sh -c \"git diff --name-status HEAD ${1:-origin/develop}\" -
latest-tag = describe origin --tags --abbrev=0
co = checkout-fuzzy
rp = pull --rebase
rpi = !GIT_EDITOR='code --reuse-window --wait' git pull --rebase=interactive
tickets-delimited = !sh -c \"git tickets "$@" | tr -s '\\r\\n' ',' | sed 's/,*$//g'\" -
summary = !sh -c \"git log --reverse ${1:-origin/develop}...head --no-merges --format='- %s %n%w(64,2,2)%-b' | sed -r '/^\\s*$/d' | sed 's/^ / - /g'\" -
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "[email protected]:steyep/"]
insteadof = gt:
[url "https://git.drupal.org/project/"]
insteadof = drupal:
[color]
ui = auto
[include]
path = ~/.gitconfig.local
[pager]
# Jump to branch HEAD when showing all branches
lg = less -Gp '[^/]HEAD'
[pull]
rebase = false