I migrated all my repo(S) from GIthub to STASH. Still some of the developers are working in Github. Is there a way to have my Github repo synced onto the migrated STASH repo on a daily basis .
Depends on what you mean by 'synced'? Because this is Git/DVCS you could easy set up a CI build (eg. Bamboo, Jenkins, etc) that regularly pulls from Github and pushes to Stash.
However, if you're modifying both repositories at the same time then things get tricky. At this point your build will need to merge all branches (one at a time) that are being updated, and then fail if there are any merge conflicts. These merge conflicts will also get more severe as time goes on unless you push the merges back to both repositories. I would highly recommend for each repository you only have one writable copy, either in Stash or Github
Does that make sense? You might be interested in this feature request:
That's good to hear - it makes things much easier.
Basically a 'git clone --mirror $GITHUB && git remote add --mirror=push stash $STASH && git push stash' or thereabouts should work. Please test first of course - be a little careful with mirror as it can override all of your refs in a single push.
I added that comment more for people who find your question/answer while looking for how to sync 2 stash instances, as I am, than any other reason. These questions/answers are perpetual....and if you're lucky (or not) you'll find this post 10 years from now b/c you're having to lookup how to do something you've long forgotten...I know I have several times. I laugh at the posts I was making back in 2004.
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot