Created
January 3, 2010 19:33
-
-
Save gregnewman/268098 to your computer and use it in GitHub Desktop.
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/sh | |
# Add dot file changes to bitbucket - to include my org files | |
REPOS="hgfiles" | |
for REPO in $REPOS | |
do | |
echo "Repository: $REPO" | |
cd ~/$REPO | |
# Add new files | |
hg add . | |
hg commit -m "$(date)" | |
hg push | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment