diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4b8afe7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,20 @@ +tmp + +# Others +.vscode +env +**/.git + + +# R +.Rproj.user +.Rhistory +.RData +.Ruserdata +.RDataTmp* + +# Python +__pycache__ +.pytest_cache +.ipynb_checkpoints +.idea diff --git a/git.sh b/git.sh new file mode 100644 index 0000000..6ac76c1 --- /dev/null +++ b/git.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +#find ./* -size +100M | cat >> .gitignore + +# How to use: double-click OR run the following command +# ./git.sh "Customize your own commitment" + +git pull +git add . +git commit -m "${1:-Luchao"'"s auto-commitment using shell script}" +git push origin main \ No newline at end of file