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

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

Check-out and lock file to edit

Hi All,


I am very new to source tree - i have already installed sourcestree and cloned the repository. Can anyone help me if source tree has an option to Check-out file by leaving it locked as it is in MS TFS?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted

SourceTree, as a graphical front-end for git, is a distributed version control system, so the files that you are editing are local files stored only on your own workstation.  There is no need or capability to lock them.  If another developer is making changes to the same file, they will need to be merged, either (ideally) through a merge operation if you are working on distinct branches or when one of you does a pull to update your local repo.


"Checkout" in git has a very different meaning than it does in centralized version control systems.  In git, "checkout" means to select a commit or branch and set your working directory to that version.

Hi Tim Crall,


This is helpful, thank you

Community showcase
Published in Marketplace Apps & Integrations

Get ready for 🍻🍂 Apptoberfest🍂🍻!

Starting October 1, we’ve got a month of app-related fun in store here in the Atlassian Community. So fasten your seatbelts and dust off your lederhosen, because we’re bringing you … 🥁🥁🥁 Apptoberf...

75 views 0 1
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