|
@@ -27,25 +27,16 @@
|
|
|
[help]
|
|
[help]
|
|
|
autocorrect = 10
|
|
autocorrect = 10
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-[merge]
|
|
|
|
|
- tool = vscode
|
|
|
|
|
-[mergetool "vscode"]
|
|
|
|
|
- cmd = code --wait --diff $LOCAL $REMOTE
|
|
|
|
|
-
|
|
|
|
|
-[diff]
|
|
|
|
|
- tool = vscode
|
|
|
|
|
-[difftool "vscode"]
|
|
|
|
|
- cmd = code --wait --diff $LOCAL $REMOTE
|
|
|
|
|
-
|
|
|
|
|
[alias]
|
|
[alias]
|
|
|
p = push
|
|
p = push
|
|
|
pp = publish
|
|
pp = publish
|
|
|
|
|
+ s = switch
|
|
|
|
|
+ sc = switch create
|
|
|
rb = pull --rebase
|
|
rb = pull --rebase
|
|
|
rbc = rebase --continue
|
|
rbc = rebase --continue
|
|
|
rba = rebase --abort
|
|
rba = rebase --abort
|
|
|
- fancy-log = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
|
|
|
|
|
- branches = for-each-ref --count=10 --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative) %09%(color:white)%(objectname:short) %(color:yellow)%(refname:short) %09%(color:white)%(upstream:track) %(contents:subject)' refs/heads --no-merged
|
|
|
|
|
|
|
+ l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
|
|
|
|
|
+ b = for-each-ref --count=10 --sort='-authordate:iso8601' --format=' %(color:green)%(authordate:relative) %09%(color:white)%(objectname:short) %(color:yellow)%(refname:short) %09%(color:white)%(upstream:track) %(contents:subject)' refs/heads --no-merged
|
|
|
edit-conflicted = ! git diff --name-only | uniq | xargs $(echo $EDITOR)
|
|
edit-conflicted = ! git diff --name-only | uniq | xargs $(echo $EDITOR)
|
|
|
history = log -p --
|
|
history = log -p --
|
|
|
pushf = push --force-with-lease
|
|
pushf = push --force-with-lease
|
|
@@ -60,10 +51,6 @@
|
|
|
ignorecase = false
|
|
ignorecase = false
|
|
|
editor = vim -c 'startinsert'
|
|
editor = vim -c 'startinsert'
|
|
|
|
|
|
|
|
-[merge]
|
|
|
|
|
- tool = code
|
|
|
|
|
-# conflictstyle = diff3
|
|
|
|
|
-
|
|
|
|
|
[push]
|
|
[push]
|
|
|
default = upstream
|
|
default = upstream
|
|
|
[status]
|
|
[status]
|
|
@@ -82,3 +69,7 @@
|
|
|
smudge = git-lfs smudge -- %f
|
|
smudge = git-lfs smudge -- %f
|
|
|
process = git-lfs filter-process
|
|
process = git-lfs filter-process
|
|
|
required = true
|
|
required = true
|
|
|
|
|
+
|
|
|
|
|
+[include]
|
|
|
|
|
+ path = ~/dotfiles/.gitconfig_difftastic
|
|
|
|
|
+ condition = command -v difft >/dev/null 2>&1
|