Sourcetree error: 'git status' failed with code -1073741819

Started getting the next error in Sourcetree all of a sudden. I don’t know what is the reason for this. but I can’t resolve it.

Unable to perform any operation.

enter image description here

+4
source share
5 answers

I also came across this. I followed these steps and solved my problem:

https://jira.atlassian.com/browse/SRCTREE-2018

In particular:

Using the terminal and changing the directory in your repository, you can do the following (first make sure that you back up your repository):

rm .git/index git add .

Or, if you have changes to the working directory that you want to save, you can do the following:

rm .git/index git reset HEAD .

+3
source

, Git, SourceTree Git . GIT. Git SourceTree, .

+1

, , .git/index .git/index.lock. SourceTree Options → Git " Embedded Git", . " Git".

+1

. :

  • Windows 10
  • SourceTree 2.0.18.1 System Git version
  • Git v2.12.2.windows.1

Git v2.12.2.windows.2 ( ) .

+1

  1. Sourcetree

  2. open view Sourcetree Bookmarks

  3. delete bookmark
  4. add bookmark again
0
source

Source: https://habr.com/ru/post/1624113/


All Articles