first commit

This commit is contained in:
dekuNukem
2024-09-13 08:52:35 +01:00
parent dcb78a4906
commit 3e3b8d4b27
2 changed files with 22 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
if [[ $# -eq 0 ]] ; then
echo 'error: please enter a commit comment'
exit 1
fi
find . -type f -name "*.b#*" -exec rm -f {} \;
find . -type f -name "*.dsb" -exec rm -f {} \;
find . -type f -name "*.s#*" -exec rm -f {} \;
find . -type f -name "*.l#*" -exec rm -f {} \;
find . -type f -name "*.csv#*" -exec rm -f {} \;
find . -type f -name "*.DS_Store*" -exec rm -f {} \;
find . -type f -name "*.eggs*" -exec rm -f {} \;
find . -name "__pycache__" -exec rm -rf {} \;
find . -type f -name ".component_hash" -exec rm {} +
current_branch=$(git rev-parse --abbrev-ref HEAD)
git add --all
git commit -m "$@"
git push origin "$current_branch"
+2
View File
@@ -0,0 +1,2 @@
git reset --hard HEAD; git clean -f -d
find . -type f -name ".component_hash" -exec rm {} +