Since deleting the local branch "BranchName" by right+clicking -> Delete BranchName, I get the above error message on every command I trigger from SourceTree. Everything seems to work though.
The branch did never exist on the remote and is deleted locally. Using git from the command line is working without complains.
git branch does not list the deleted branch. I "git clean -fd". "git log" also works with no issues.
Sourcetree Version 1.9.4 (1.9.4) (update installed today)
I had the issue. In my case here is what I,Ve done to solve it.
It was related to certains type of files in my .gitattributes file.
The line filter "*.myext filter=lfs diff=lfs merge=lfs -text" in gitattributes file was added AFTER some ".myext" file were previously commited in the repository.
The ".myext" files were never been modified following the addition in the ".gitattributes" file.
- Clone the repository ( D:\My_Repo )
- Made a copy of all the content of the repository (excluding .git folder) in a temporary folder ( D:\My_Repo_tmp )
- Overwrite all the content of "D:\My_Repo" with the content of "D:\My_Repo_tmp"
- Commit and push to remote branch the changes detected.
It forces git to push back the content that have not been pushed yet to LFS and regenerate the links to LFS.
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