Skip to content

mirrors remote repositories locally and maintains multiple checked out worktrees

License

Notifications You must be signed in to change notification settings

utilitywarehouse/git-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-mirror is a golang library to periodically mirror (bare clones) remote repositories locally. The mirror is created with --mirror=fetch hence everything in refs/* on the remote will be directly mirrored into refs/* in the local repository. it can also maintain multiple mirrored checked out worktrees on different references.

The implementation borrows heavily from kubernetes/git-sync. If you want to sync single repository on one reference then you are probably better off with kubernetes/git-sync, as it provides a lot more customisation. git-mirror should be used if multiple mirrored repositories with multiple checked out branches (worktrees) is required.

About

mirrors remote repositories locally and maintains multiple checked out worktrees

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages