Skip to content

Commit

Permalink
Luchao's auto-commitment using shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
luchaoqi committed May 10, 2021
0 parents commit be78067
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
tmp

# Others
.vscode
env
**/.git


# R
.Rproj.user
.Rhistory
.RData
.Ruserdata
.RDataTmp*

# Python
__pycache__
.pytest_cache
.ipynb_checkpoints
.idea
10 changes: 10 additions & 0 deletions git.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be78067

Please sign in to comment.