We are in the process of migrating from bitbucket to stash. Out working repository is still BitBucket.
I have created repository in Stash using
git clone --mirror http://user@bitbucket/repo.git
git remote add stash http://firstname.lastname@example.org/repo.git
git push --mirror stash
Which is success and I am able to see all commits and branches in Stash.
Though, how can I update next time from BitBucket to Stash, only new changes, in incremental way.
You may want to take a look at our Add-on ScriptRunner for Stash available in the Atlassian Marketplace.
Specifically, this Add-on has functionality that helps you mirror BitBucket repositories to Stash.
The documentation outlines how you can go about it: https://scriptrunner.adaptavist.com/stash/latest/docs/administrative_scripts/#mirror-github-or-bitbucker-user-team-or-organization
There is also a video you can take a look at too:
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs