aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2023-01-25 20:09:42 +0500
committerAnton Bobov <anton@bobov.name>2023-01-25 20:09:42 +0500
commitf9a2b5229a4dd6d9cd392c57643124aeb7be15d6 (patch)
treeffbb06de433295f330378fd37c5da73523557818 /files/.gitconfig
parenta412cf36896df4e392e01c4bda352e7f36a852f4 (diff)
Update zsh-completion and git config
Diffstat (limited to 'files/.gitconfig')
-rw-r--r--files/.gitconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
index 120b464..0b2acc1 100644
--- a/files/.gitconfig
+++ b/files/.gitconfig
@@ -61,6 +61,7 @@
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"
+ pushf = push --force-with-lease
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/"
@@ -92,6 +93,7 @@
sort = authordate
[rebase]
instructionFormat = %s [%an] {%ar}
+ autoStash = true
[rerere]
enabled = true
[status]