Created
January 26, 2024 09:35
-
-
Save AppleBoiy/6f07cdfab231ee1e7f1226be59e3802c to your computer and use it in GitHub Desktop.
Git w/ submodules script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear: | |
find . -name "__pycache__" -exec rm -rf {} \; | |
find . -name ".DS_Store" -exec rm -rf {} \; | |
fetp: | |
git fetch && git pull | |
save: | |
git add . && git commit -m "$(msg)" && git push | |
subsave: | |
git submodule foreach 'git add . && git diff-index --quiet HEAD || git commit -m "~ chore" && git push || true' | |
git add . && git diff-index --quiet HEAD || git commit -m "lazy commit" && git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment