3 ms·
Do you know a good way to automate that?
by kardos 9y ago
Do you know a good way to automate that?
- philipwhiuk 9y ago$ vi /usr/bin/gpa #!/bin/bash git push github $? git push bitbucket $? $ gpa
- fenwick67 9y agoa crontab script that does `git fetch` would be enough
- urda 9y agoYou could have a cron job automatically sync repos, but right now I have my own local copies and I use GitLab's "Repository mirroring" [1] which has worked really well for me! [1] https://docs.gitlab.com/ee/workflow/repository_mirroring.html