Improve git config
Based on https://www.brandonpugh.com/blog/git-config-settings-i-always-recommend/
This commit is contained in:
parent
262b218685
commit
92e6fb696e
|
@ -26,7 +26,7 @@
|
|||
ri = "rebase -i";
|
||||
rc = "rebase --continue";
|
||||
|
||||
fap = "fetch --all --prune";
|
||||
fa = "fetch --all";
|
||||
rh = "reset --hard";
|
||||
cp = "cherry-pick";
|
||||
|
||||
|
@ -83,6 +83,10 @@
|
|||
autosetuprebase = "always";
|
||||
};
|
||||
|
||||
fetch = {
|
||||
prune = true;
|
||||
};
|
||||
|
||||
color = {
|
||||
diff = "auto";
|
||||
status = "auto";
|
||||
|
@ -120,6 +124,7 @@
|
|||
push = {
|
||||
default = "current";
|
||||
gpgSign = "if-asked";
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
|
||||
pull = {
|
||||
|
@ -128,6 +133,7 @@
|
|||
|
||||
rebase = {
|
||||
autoStash = true;
|
||||
autosquash = true;
|
||||
};
|
||||
|
||||
merge = {
|
||||
|
|
Loading…
Reference in a new issue