Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I 'pull' from the remote repo using bitbucket and sourceTree GUI

banjobum June 30, 2015

I want to down load a previous version of my code into my local working directory. I assume PULL is the command I need. I've tried PULL and FETCH several times but the code in my local directory never changes. I must be doing something basically incorrect but it's a mystery.  I've created no branches and I'm working alone.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
jpoh
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2015

Hi Ray, both fetch and pull will update your local clone of the repository to the latest. In git, if you want to switch to an earlier revision you'd use the checkout command. In SourceTree this is even easier to do, just find the commit in the commit history list and double click it, and it will update your working copy to that commit. Some additional info here on how to work with old commits using git checkouthttps://www.atlassian.com/git/tutorials/viewing-old-commits

TAGS
AUG Leaders

Atlassian Community Events