no message
This commit is contained in:
parent
75e0a060ea
commit
d6aa9cf4c8
2 changed files with 2 additions and 8 deletions
|
|
@ -1,6 +0,0 @@
|
||||||
#!/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
|
|
||||||
git clean -fdx -e .env/ -e .idea/
|
|
||||||
|
|
@ -8,8 +8,8 @@ def git_cleanup():
|
||||||
|
|
||||||
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
|
git_cleanup() # Clean up git repository
|
||||||
font_folder_cleanup.remove_ds_store_files() # Remove .DS_Store files from the repository
|
font_folder_cleanup.remove_ds_store_files() # Remove .DS_Store files from the repository
|
||||||
font_folder_cleanup.remove_setup_complete_files() # Remove setup complete files from the repository
|
font_folder_cleanup.remove_setup_complete_files() # Remove setup complete files from the repository
|
||||||
font_folder_cleanup.remove_empty_folders() # Remove empty folders from the repository
|
font_folder_cleanup.remove_empty_folders() # Remove empty folders from the repository
|
||||||
os.system("./git_reset_and_clean.sh") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore
|
git_cleanup() # Clean up git repository again after removing files and folders
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue