How do I update files from the repository

A month ago I checked out the files I need from the repository. Someone else has made changes since then. I want to work with the latest files. How do I get them? Your GUI is far from intuitive and your help is not helping. I am using SourceTree with Bitbucket.

2 answers

1 accepted

This widget could not be displayed.

The UI is intuitive enough IF you have a working understanding of Git/Mercurial. It is not intended to be an "it just works" versioning tool.

If you are using Git, the Git book is a great resource. Read sections 1.1 through 1.3, and all of chapters 2 and 3. After doing so once, you should understand what 80% of the interface is supposed to do (since terms like "Fetch", "Push", "Merge", and "remote" will all have been defined).

Thank you for the reference to the Git book! I'll look for it. I've been thrown into something with little time to really learn it. As a writer, I appreciate being referred to useful documentation. .

git-scm.com/book/en/v2 Fully available online for free, or you can buy a print copy.

This widget could not be displayed.

Hi Genny,

I am not an expert yet. Still learning but I use the Pull or Fetch buttons to update my local repository. I have found that if the repository is checked out to another machine then I can't check it out again. It seems that way to me.

 

from stackoverflow.com on the difference between fetch and pull

 

Hope that is helpful,

Cal

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

865 views 2 3
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you