Dear there,
I am doing some experiment that switch using Git command line and Sourcetree to manage my repository, I had cloned a local repository from bitbucket, when I open Sourcetree to try to Add the local repository I encountered the Git failed with code 128: this operation must run in a work tree. I tried below commands but it did not work.
del .git\index
git reset
Does anyone have idea to solve this problem?
Best Regards
Shawn
Hello! Have you tried using Sourcetree to clone the repository?
Hello,
Thank you. Using Sourcetree to clone the repository will work, but still want to know how to add an existing local repository to Bitbucket. Another scenario is I cloned the repository using Bitbucket, then I close the repository tab on Sourcetree, when I tried to add the local repository back to Sourcetree, it does not work, it does not make sense, right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.