4 ms·
Put this in a cronjob: git remote add github url_to_repo git push —mirror github
by jsjohnst 8y ago
Put 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.