You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

git-backup 215B

123456789101112
  1. #! /usr/bin/env sh
  2. while read path
  3. do
  4. echo "Backing up ${path}..."
  5. cd ${path} &&
  6. (
  7. git add -A
  8. git commit -m "[GIT-BACKUP] $(date)"
  9. git push origin master
  10. )
  11. done < /etc/git-backup.conf