4 ms·
This is what I'd love to see, a local git-like instance to syncs to Github.
by WrtCdEvrydy 8y ago
This is what I'd love to see, a local git-like instance to syncs to Github.
- jsjohnst 8y agoPut this in a cronjob: git remote add github url_to_repo git push —mirror github
- fiddlerwoaroof 8y agoThis is what post_receive hooks are for.
- jsjohnst 8y agoDepends on what you’re using for the local Git server. Sometimes it’s not easily doable, but yes, if possible using hooks is better.
- fiddlerwoaroof 8y agogitolite + gitolite-simple-mirror is amazing for this.