From c01c1ed22e30de7323d6902c6c35a3aa087a1d40 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 14 Sep 2022 14:40:37 +0800 Subject: More git config --- .gitconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3