Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Running Sourcetree in a git repo folder does not load up the repo

John Tan I'm New Here Apr 04, 2022


It used to be the case when I run `C:\Users\User\AppData\Local\SourceTree\app-3.4.8\SourceTree.exe` inside a git repo folder with no parameters, the repo will load in ST.

However, with 3.4.8, it gives an error "'git status' failed with code -1: The working directory is not valid ()". If I were to provide the parameters `-f .`, the repo loads in ST, however the tab is named ".", not very intuitive if I have other repos opened.

Possible to make just running ST in the folder open it up correctly? Thank you.


0 answers

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,345 views 127 26
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