File: Git_repo_updating.mdwn

package info (click to toggle)
propellor 5.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,788 kB
  • sloc: haskell: 17,913; makefile: 58; perl: 38; sh: 28
file content (1 line) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (6)
1
Propellor.Property.Git.cloned clones a git repo to a location, great! Is there an easy way to keep it updated afterwards, though? I guess having a property that enforce up-to-dateness wouldn't be so practical since you have to hit the remote to check, perhaps a cron job to run some equivalent of `git fetch && git reset --hard && git clean -dfx`. (Just thinking out loud here, and wondering what everyone else is doing)