Skip to content

Instantly share code, notes, and snippets.

@thrakt
Created May 22, 2014 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thrakt/de97aba81f04c1e66e17 to your computer and use it in GitHub Desktop.
Save thrakt/de97aba81f04c1e66e17 to your computer and use it in GitHub Desktop.
gitコマンドの対象リポジトリを指定する ref: http://qiita.com/thrakt/items/92938970ae6503c41db8
*/10 * * * * ls -1 /usr/local/gitrepos/ | xargs -i git --git-dir=/usr/local/gitrepos/{} remote update | logger -t "update repos" -p local0.info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment