Skip to content

Automatically Keeps a directory full of git mirrors up to date with remote

Notifications You must be signed in to change notification settings

tsaavik/Git-Mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Git-Mirror

Automatically Keeps a directory full of git mirrors up to date with remote

Requires

  • Cron - for updates
  • git - for doing git operations

To start Mirroring a new GIT repo:

   cd /home/yourname/gitmirror/
   git clone --mirror [email protected]:YOURGITNAME/REPONAME

Example cron entry for keeping mirrors up to date once a day:

   32 4 * * * git-mirror ~/gitmirrors/ >>/var/log/git-mirror.log 2>&1

About

Automatically Keeps a directory full of git mirrors up to date with remote

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages