I started using Bitbucket (with mercurial) by pulling a repository directly from a collaborator's Bitbucket account. That is, I never used Bitbucket to create a Fork to my own Bitbucket account. [I now realize I should have created a Fork on Bitbucket then pulled that fork to my local machine]. Anyway, I just completed a significant merge of the code on my local machine, and I want my collaborator to pull the merged code back to the main trunk. But he can't pull it directly from my local machine. I'm not authorized to push it up to his Bitbucket account. Any idea what's the best way out of this predicament?
You can still fix this yourself, as long as you have read access to the original repository. Go to that repo, and create a new fork. Then, on your local machine, update the remote URL of the repository to point to the fork you created in your account (see the Mercurial section of this guide). Then, push your code into your fork. A simple push, perhaps with --new-branch should do it. Then, create a Pull Request from your fork to your collaborator.
As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...
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