Added new script as the other was being a turd 💩
This commit is contained in:
parent
2809b0366d
commit
1427542ecb
2 changed files with 7 additions and 1 deletions
6
.fontfoldercleanup/git_reset_and_clean.sh
Executable file
6
.fontfoldercleanup/git_reset_and_clean.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/zsh
|
||||
# go to the root of the repository
|
||||
cd "$(git rev-parse --show-toplevel)"
|
||||
# reset the repository to the main branch and clean it
|
||||
git reset --hard main
|
||||
git clean -fdx -e .env/ -e .idea/
|
||||
Loading…
Add table
Add a link
Reference in a new issue