Dotfile : Remove untracked git files on init.
This commit is contained in:
parent
6b9b68ffa7
commit
2bdf37d892
|
@ -19,6 +19,7 @@
|
||||||
${pkgs.git}/bin/git checkout main
|
${pkgs.git}/bin/git checkout main
|
||||||
${pkgs.git}/bin/git branch --set-upstream-to=origin/main main
|
${pkgs.git}/bin/git branch --set-upstream-to=origin/main main
|
||||||
${pkgs.git}/bin/git branch -D master
|
${pkgs.git}/bin/git branch -D master
|
||||||
|
${pkgs.git}/bin/git clean -f
|
||||||
};
|
};
|
||||||
${pkgs.git}/bin/git pull
|
${pkgs.git}/bin/git pull
|
||||||
'';
|
'';
|
||||||
|
|
Reference in a new issue