9 lines
No EOL
527 B
Python
9 lines
No EOL
527 B
Python
import cleanup
|
|
import os
|
|
|
|
if __name__ == '__main__':
|
|
# Clean up git repository
|
|
os.system(f"cd {cleanup.repo_location} && git reset --hard main && git clean -fdX") # Change to repo location, reset the repository, and clean untracked files except those in .gitignore
|
|
cleanup.remove_ds_store_files() # Remove .DS_Store files from the repository
|
|
cleanup.remove_setup_complete_files() # Remove setup complete files from the repository
|
|
cleanup.remove_empty_folders() # Remove empty folders from the repository |