aboutsummaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-09-14 14:40:37 +0800
committerGuangxiong Lin <[email protected]>2022-09-14 14:40:37 +0800
commitc01c1ed22e30de7323d6902c6c35a3aa087a1d40 (patch)
treefe6ea03cfd3496562a33ce2a3b78b00d2f0a4c89 /.gitconfig
parentc63c801db6a7dba34ce1c24968225b2fd290e08e (diff)
downloaddotfiles-c01c1ed22e30de7323d6902c6c35a3aa087a1d40.tar.gz
dotfiles-c01c1ed22e30de7323d6902c6c35a3aa087a1d40.tar.bz2
dotfiles-c01c1ed22e30de7323d6902c6c35a3aa087a1d40.zip
More git config
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index 1301519..8d5d6e8 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -14,7 +14,7 @@
excludesFile = ~/.gitignore
attributesfile = ~/.gitattributes
[alias]
- ap = add --patch
+ ap = !git add -N . && git add --patch
# commit
ci = commit -v
@@ -60,3 +60,5 @@
jm = jump merge
jg = jump grep
jw = jump ws
+[rebase]
+ autosquash = true