no message
This commit is contained in:
parent
358e94cde7
commit
75e0a060ea
1 changed files with 6 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
import font_folder_cleanup
|
import font_folder_cleanup
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
def git_cleanup():
|
||||||
|
os.system("cd $(git rev-parse --show-toplevel)")
|
||||||
|
os.system("git reset --hard")
|
||||||
|
os.system("git clean -fdx -e .env/ -e .idea/ -e .fontfoldercleanup/")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# Clean up git repository
|
# Clean up git repository
|
||||||
os.system("./git_reset_and_clean.sh") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore
|
os.system("./git_reset_and_clean.sh") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue