Set git default branch
This commit is contained in:
parent
db7db30785
commit
ff8ec8c604
|
@ -69,9 +69,12 @@
|
|||
sync = "!git pull -r && git push";
|
||||
cpr = "!f() { git fetch origin refs/pull/$1/head && git checkout FETCH_HEAD; }; f";
|
||||
};
|
||||
delta.enable = true;
|
||||
|
||||
extraConfig = {
|
||||
pull.ff = "only";
|
||||
core.editor = "vim";
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
enable = true;
|
||||
ignores = [
|
||||
|
|
Loading…
Reference in a new issue