From 6828369a176a82ab52dc10d1e00ada9bccca623c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 28 Jan 2021 13:02:34 +0530 Subject: [PATCH] git: Set auto squash for rebase by default and addEmptyPathspec to false --- git/.gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git/.gitconfig b/git/.gitconfig index 052c910..dc27055 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -28,6 +28,7 @@ cmd = 'nvim -c DiffConflicts "$MERGED" "$BASE" "$LOCAL" "$REMOTE"' trustExitCode = true [rebase] + autosquash = true autoStash = true [commit] verbose = true @@ -41,3 +42,5 @@ navigate = true features = line-numbers decorations whitespace-error-style = 22 reverse +[advice] + addEmptyPathspec = false