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

Your Points Tracker
Challenges
Leaderboard
  • 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
Recognition
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?
Kudos
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

Branches checked out from origin don't have all commits Edited

Edited because the question does not appear to carry the date asked.

 

This has been reported by several of our developers over the last couple of years and it happened to me.  I'm using Sourcetree 2.4.8.0.

This morning in response to a pull request on a branch I did not have local, I checked it out from origin and tried to test the changes.  After a few minutes of troubleshooting an error I discovered I had four commits to pull, three of then dated 6 Apr (today).

Could Sourcetree be tracking commits on branches you've never checked out? 

What other reason would checking out from Origin not include all commits?

 

 

1 answer

0 votes
minnsey Atlassian Team Apr 10, 2018

Hi

Git will checkout the branch from its local copy of the repository, if it has a copy. So if you did a fetch before the 6th April your local copy will have been aware of the branch, when you checked out you got the version pre-6th April and then Sourcetree indicated there were new commits post 6th April

Edited this because it was unnecessarily acerbic.

I'm not sure why the question isn't clear.  I said "a pull request on a branch I did not have local".  So this response doesn't address the problem -- "Branches checked out from origin don't have all commits"

Suggest an answer

Log in or Sign up to answer
TAGS
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,402 views 4 5
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