1
0
Fork 0

Set git default branch

This commit is contained in:
Malte Brandy 2021-07-30 19:02:10 +02:00
parent db7db30785
commit ff8ec8c604
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -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 = [