Hi. I have a local workspace with some projects, sincronized with a remote git repo. ¿How to add the existing working copy (git local repository) to SourceTree?
Lots of ways! :)
I was confused for a while (neophyte!) I wanted to add the hidden .git directory or one of the sub files/directories but it was the parent directory where the .git file was located.
All is good to go after migrating to a newer computer. Thanks for the direction and hints.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have a problem with local repo: if I add a repository with "Add Working Copy" it seems to be ok, SourceTree tells me that it a git repository, but when I open it I have this error: "'git status' failed with code 128:'fatal: Not a git repository (or any of the parent directories): .git".
What can I do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The check when you provide a path to add as a working copy is actually quite rudimentary, it just checks for the presence of the .git folder. If git is failing when it's added and *real* git commands start being called on it, that means that the .git folder is a red herring and that it really isn't a git repo after all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, very intuitive. I could find the way just five after doing the question. Thanks!.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.