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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Checkout / Lock a file


I have the same question like written here ... but unfortunatelly the answer does not help me.


My problem is: The files we are working an cannot be merged! They are pure binary files (LabVIEW source code). The idea behind GIT as distributed version control system is nice but I'm really missing the possiblity to show a user that he shall not work on a specific file because somebody else is currently working on it. If he does not care about about this hint: ok, that's another story but he shall at least get informed in some way that he should not work on a particular file.

Unfortunatelly I'm also very new on GIT / Sourctree - so I hope to get a hint if this kind of feature is available somewhere or not.


Thanks ind advance.

1 answer

0 votes
Daniel Eads Atlassian Team Mar 23, 2020

Hey Andreas, welcome to the Community!

Git natively doesn't support lock files. The general idea is to use branches and then merge files when needed. As you found already though, this can be problematic with binary files.

Git LFS is an extension of Git designed for large files (and binaries count!). Git LFS does have a provision for locking files. Depending on where you're hosting your git repo, you can make use of the locking functionality in Git LFS.

For example, it's fully supported in Bitbucket Server, and we have instructions on setting things up and using locking here.

In Bitbucket Cloud however (, we support Git LFS but currently not the locking functionality. There's an open feature request to add locking capabilities in Bitbucket Cloud if you're using it to host and interested in seeing the lock functionality added.

I hope that helps you!


Suggest an answer

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

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,230 views 19 18
Join discussion

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