aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2019-07-19 08:57:46 +0500
committerAnton Bobov <abobov@gmail.com>2019-07-19 08:57:46 +0500
commit971f21a27e125b8d9daf369dcb705d00b08e727f (patch)
treeaab5087865d966ac639e1662028258cbea238b63 /files/.gitconfig
parent1d8313793754f0ebc504d590058e70be91431908 (diff)
Update
Diffstat (limited to 'files/.gitconfig')
-rw-r--r--files/.gitconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
index 88b0878..fca7a34 100644
--- a/files/.gitconfig
+++ b/files/.gitconfig
@@ -37,9 +37,12 @@
f = !sh -c 'git branch | grep -F "feature/$1" | xargs -r -n 1 git co' -
st = status
stashlist = stash list --date=short
+ sha = rev-parse --short
addnw = !sh -c 'git diff --unified=0 --ignore-all-space --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
branch-name = "!git rev-parse --abbrev-ref HEAD"
publish = "!git push -u origin $(git branch-name)"
+ # https://datagrok.org/git/git-serve/
+ quickserve="daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/"
[advice]
statusHints = false
[branch]
@@ -75,3 +78,8 @@
path = .gitconfig.local
[includeIf "gitdir:~/src/rusgis/**"]
path = ~/.gitconfig-rusgis
+[filter "lfs"]
+ required = true
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process