Skip to content

Instantly share code, notes, and snippets.

@stephenkeating
Created October 31, 2019 15:59
Show Gist options
  • Save stephenkeating/6fc8c382efc8c1fdd54995e16b10019e to your computer and use it in GitHub Desktop.
Save stephenkeating/6fc8c382efc8c1fdd54995e16b10019e to your computer and use it in GitHub Desktop.
Automated Git Pull Script
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.gitPullLectureCode</string>
<key>ProgramArguments</key>
<array>
<string>git</string>
<string>-C</string>
<string>/Users/stephenkeating/Development/code/lectures/</string>
<string>pull</string>
</array>
<key>StandardErrorPath</key>
<string>/tmp/local.gitPullLectureCode.err</string>
<key>StandardOutPath</key>
<string>/tmp/local.gitPullLectureCode.out</string>
<key>StartInterval</key>
<integer>60</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment