Jump to content
Willicious

Atlassian automatically adds commits to pull request

Recommended Posts

I'm attempting to create a pull request on BitBucket.

 

I've taken the following steps, in this order:

 

1. Made changes to the repo

2. Created NewBranch in SourceTree

3. Checked out NewBranch in SourceTree

4. Committed changes to NewBranch

5. Commited a test change to the master branch just to make doubly sure that NewBranch is in fact separate from the master - it is

6. Pushed everything to origin

7. Opened BitBucket in a web browser

8. Clicked Create > Pull request

9. Chosen NewBranch as the source branch

 

From here, I get different results depending on what I do next.

 

10. Chosen the destination repo, and chosen (a new branch with the same name i.e. NewBranch) as the destination branch

 

If I do this, the most recent 8* commits are added to the PR, from both the source branch (i.e. NewBranch) and the master branch.

 

10. Chosen the destination repo's master branch as the destination branch

 

If I do this, the most recent 8 commits are added to the PR, but I get little yellow warning symbols and an error saying "something went wrong".

 

Clearly, I'm not used to working with branches. Based on the above, can anyone see what I might be doing wrong?

*NOTE: NewBranch consists of a single commit, the other 7 are from master

Edited by Willicious

Share this post


Link to post

Still haven't managed to figure this one out, hopefully getting some help with it tomorrow (Monday 25th). I'll post back here if a solution is found.

Edited by Willicious

Share this post


Link to post

I can't follow your description above and I can't make it match with what I see on your repos.

I suggest you:

  1. Ditch BitBucket - it sucks.
    Use your repo on github instead.
  2. Ditch SourceTree - see above.
    Install Fork.

If you tell me what the source and target branches are I can tell you how to do it.

  • Like 1

Share this post


Link to post
On 11/24/2024 at 4:04 PM, Anders Melander said:

...and FWIW your old SuperLemmix repo on BitBucket appears to be gone. Now I only see the NeoLemmix repo.

Yeah, that's because I'm in the process of migrating over to GitHub (as you've suggested), because BitBucket sucks 😉

 

I'm getting some help with the BitBucket PR at the moment, once that's done I'll probably switch completely to GitHub for all projects.

Edited by Willicious

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×