Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConnecting to existing repository is unexplained #891
Comments
|
Is this even possible right now? I am somehow unable to get this work. |
|
Hey guys, sorry about the lack of documentation there. Since Unity doesn't have plugins outside of a Unity project, we don't have an easy way of adding a clone function. But if you use your regular tools to clone your project, you can open it right up in Unity and install GitHub for Unity and everything should be just fine from there. |
|
Does that solve the problem for you @f-wende or @dragonfyre23? |
|
I haven't gotten a chance to test yet. Which tools are you referring to? Just downloading the project, removing the plugin by deleting the directory and opening it in unity? |
|
Hey @dragonfyre23 , okay, maybe I'm making too many assumptions.
|
|
You assume correctly. My question arose when I tried to access the project from a different machine. What is the proper workflow for this? Should I clone the repository from GitHub.com? or should I make an empty project in Unity first(adding the plugin later). Cheers and thanks for the quick responses. PS I’m happy to add the documentation once I figure it out. |
|
So yea, exactly like I was saying before, we don't have a clone function yet. P.S. I appreciate you adding the documentation. |
|
The above steps worked for me. Fatal: HttpRequestException encountered. I double checked my credentials and remote: origin https url as well as my system git installation location. Not sure what to think about that but I'm satisfied with the workaround for now. Cheers and thanks for the help! |
|
@StanleyGoldman Hello from 2019. I just started to use Github for Unity and I still struggled to connect to an existing repository after reading from the documentation. I find this thread extremely useful in helping me to connect to an existing project (it was not obvious to me that as simple as using GitHub Desktop would be the solution). Would you maybe consider writing a few sentences on the getting started guide or simply direct new users to this thread? |
Part question part issue:
getting-started.md has a header at the end which has no content
I would love to know how to connect to a repository from a new machine. Cheers!
Edit:
//(copied the body of a later comment for context)//
I created the project in Unity, added the GitHub for Unity plugin, then initialized a repo within unity through use of the plugin.
Next, I created a new empty repository on GitHub.com and copied the https link. I pasted that into the plugin’s remote origin field and saved the link. After making several commits and pushes everything works flawlessly.
My question arose when I tried to access the project from a different machine.