homebrew-fonts/.fontfoldercleanup/git_reset_and_clean.sh
2024-10-02 14:36:29 -05:00

6 lines
No EOL
194 B
Bash
Executable file

#!/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/