Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the correct workflow for merging in BitBucket with Sourcetree?

droelands December 2, 2019

My workflow was:

  1. Clone repo to my machine.
  2. Create feature branch locally.
  3. Begin doing work.
  4. Incrementally push to the remote feature branch as I'm developing.
  5. Finish work, create a pull request on BitBucket through the web interface.
  6. Receive a message that I have to Resolve conflicts.
  7. On my local, checkout master and merge my feature branch into master.
  8. Try to push master back to the remote server, get "Branch refs/heads/master can only be modified through pull requests"

Now it appears that I'm stuck with both my local repo and remote repo unusable because I can't merge the pull request and I can't push to master.

What is a best-practice/commonly-used workflow for getting from my start point (working and committing frequently to a feature branch on my local) to the desired end state (changes for the feature successfully mereged into local)?

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events