Created
July 8, 2013 01:27
-
-
Save tnaka/5945637 to your computer and use it in GitHub Desktop.
gitの自動コミットスクリプト
This file contains hidden or 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
#!/bin/bash | |
echo '$ cd /data0' | |
cd /data0 | |
#show status | |
echo '$ git status' | |
git status | |
#add new files in a tree | |
echo '$ git add -A' | |
git add -A | |
echo '$ git commit -m "auto commit `date`"' | |
git commit -m "auto commit `date`" | |
echo '$ git push --no-progress' | |
git push --no-progress |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment