Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Should the Master be the latest version? How do I ignore uncommitted changes?



It has been a while since using Sourcetree and I need to modify a program from 2 years ago. Below is how it was saved on Bitbucket. (The production program was generated from the Working copy).

I notice the Master is not at the top. Does this mean the latest was never committed/pushed up? If so, how can I correct this?

I want to modify the program using a new branch. Where do I need to branch from?

Is there a way to ignore the uncommitted changes (unnecessary compile generated files)?





1 answer

0 votes
Mikael Sandberg Community Leader Sep 26, 2018

Hi Jeff,

Welcome to the Atlassian Community.

You are correct, your master branch does not have the latest that is in the RA431... branch, meaning it has not been merged into your master branch.

Where you branch off from is up to you, if you need the latest code you can either do it from RA431... branch, or you can wait until it has been merged into master and then branch off of master.

Yes, your unnecessary files can be ignored by using a gitignore file. Note that the gitignore file does not affect files that are already in the repository.

Thank you, I didn’t realize the last branch never got merged. If I remember right, the Master needs to be checked out first before I can merge. Is that correct?

Mikael Sandberg Community Leader Sep 26, 2018

Correct, the target branch of the merge has to be checked out before the merge.

Thanks, I merged the branch OK but when I try to push it to origin I get this error:


Mikael Sandberg Community Leader Sep 26, 2018

Can you access the repository via Bitbucket? Atlassian did change the IP addresses for Bitbucket a couple of months ago, so if you are behind a firewall that may be the cause, have a look at the blog post about it. The only tech note about the error 403 from Bitbucket that I found was this one.

I saw the post. I don't seem to have access to Bitbucket. Is there any other way I can continue?

Mikael Sandberg Community Leader Sep 26, 2018

You can contact support here and see if the repository is still active. If it is not you can always setup a new account in Bitbucket and import your local repository to it. While you wait you can still continue with your code changes.

My account had to be reactivated. It works now. Thanks for the help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,904 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you