I forked a bitbucket-git-project and pulled it on my local maschine. Then i created a new branch "issue_12345" and fixed some bugs. i pushed it to my bitbucket-fork-git-repository and submitted it as a pull request to the original bitbucket-git-repository. everything works great.
Now i realized that my pull request has to be improved.
How can i imporve my pull request on my local maschine in my IDE? i could not find any helpful information about this.
I found the "edit" button at the pull request "files" section on bitbucket platform. there i could easily make some small modifications to my pull request. but this is not optimal for more complex modifications on a pull request. sometimes you really want to make those modifications locally in your IDE.
Is this possible with bitbucket?
I guess a found part of a/the solution:
1. Clone your fork
2. Checkout the branch you used for the pull request
3. Make changes
4. git add .
5. git commit
6. Push commit (to your fork repository)
So far so good but it seems that the pull request is not updated automatically as soon as the branch (on which the pull request is based) is updated.
There is an article about this phenomenon in Stash here: https://confluence.atlassian.com/display/STASHKB/Pull+Requests+Not+Reflecting+Changes+Pushed+to+Remote+Branch+After+an+Upgrade
Question: is there a way to let pull requests be updated (autoatically/manually) as soon as the branch (on which the pull requests is based) is updated?
Doesn't a PR become read only once it's accepted? I'm not sure it makes sense to allow a PR to be updated once it's merged into the target repository.
The right thing to do here I tink is simply to create a new PR with the more recent changes. That is certainly what we do here.
If a PR has not been accepted yet then it should definitely be picking up the changes and giving you the option to update an exitsing PR as long as you are pushing to the same branch in the source.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs