feat(git): always fetch all and prune
This commit is contained in:
parent
555d229cf1
commit
f73891c335
2 changed files with 9 additions and 4 deletions
|
@ -37,9 +37,6 @@
|
||||||
|
|
||||||
column.ui = "auto";
|
column.ui = "auto";
|
||||||
|
|
||||||
fetch.parallel = 8;
|
|
||||||
fetch.writeCommitGraph = true;
|
|
||||||
fetch.recurseSubmodules = true;
|
|
||||||
commit.verbose = true;
|
commit.verbose = true;
|
||||||
|
|
||||||
diff = {
|
diff = {
|
||||||
|
@ -50,6 +47,15 @@
|
||||||
renames = true;
|
renames = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fetch = {
|
||||||
|
all = true;
|
||||||
|
parallel = 8;
|
||||||
|
prune = true;
|
||||||
|
pruneTags = true;
|
||||||
|
recurseSubmodules = true;
|
||||||
|
writeCommitGraph = true;
|
||||||
|
};
|
||||||
|
|
||||||
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
|
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
|
||||||
|
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
gs = "git status";
|
gs = "git status";
|
||||||
gd = "git diff";
|
gd = "git diff";
|
||||||
gf = "git fetch";
|
gf = "git fetch";
|
||||||
gfp = "git fetch --prune";
|
|
||||||
k = "kubectl";
|
k = "kubectl";
|
||||||
ww = "nvim -c VimwikiIndex";
|
ww = "nvim -c VimwikiIndex";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue