- Home /
How to fix /Library/ conflicts in GitHub repo for Unity project?
We got it so that the Unity Project folder doubles as our git repo. We made the git repo and forgot to get the .gitignore file in there. Now /library/ conflicts are preventing anyone from working with the repo, even after we created the .gitignore file in the master. We aren't sure how to fix this without losing a lot of work and starting over in GitHub.
Our repo is at the following link: https://github.com/warpaltarpers/IMS487
Please help us on this one, as we can't move forward without fixing this, and we would rather not delete the repo to start over with version control.
Answer by Bonfire-Boy · Oct 29, 2017 at 12:43 AM
IMO you need to remove the Library folder from the repository. Adding an entry to gitignore doesn't stop it tracking files that it's already tracking.
This should help... https://stackoverflow.com/questions/6313126/how-to-remove-a-directory-from-git-repository
Having removed the folder from tracking, people should be able to delete their local Library folders and have Unity regenerate them without impacting on each other.
Your answer
Follow this Question
Related Questions
Unity Version Control - missing scene files and materials when downloading or cloning. 0 Answers
Git and Unity not working correctly: missing components, textures, materials, etc. 2 Answers
How to maintain an iOS and Android version of the same project? 1 Answer
Can't drag and drop prefabs made by other people on my team (Git/Git LFS) 0 Answers