#Problem with Github Desktop + Unity
1 messages · Page 1 of 1 (latest)
Yes I did, it did nothing sadly
I have the exact same set-up for my Github repos and it works just fine.
Yeah that's weird, I have no idea why
Maybe if I delete the ignored folder it will work ?
the gitignore?
No I mean if I delete for exemple Library, Logs from my Unity's project
maybe github desktop will detected it, I don't know
It should already have.
Maybe your Untity project lies in another file? OR does "World Design" take you directly to the unity project, like here you see the folders Assets, etc.?
That's a lto of World Designs xD
Yeah lol I messed up a bit I know
with the red arrow, yes
Okay
Now go into World Design
That's weird...
I'm sorry that I am of no help but it should be working. The only other thing I can think of is that the .gitignore changes haven't been saved, or that the Github desktop hasn't been updated.
It's ok no problem, that's already kind of you trying to help me !
I also commit the new .gitignore
but it doesn't helped
Maybe this can help?
https://www.reddit.com/r/Unity3D/comments/elazbl/why_is_my_gitignore_not_working/
I'm running on the last github desktop version
I don't know how to run a command with github desktop
Nevermind I found out
What was it?
I'm still having the issue, I just found out about how to open a terminal to run a command with github desktop
oh
- You need to put the
.gitignorein the same folder of the Unity project (In the first screenshot, it's currently in the parent folder of the project) - You need to close and reopen
Github Desktopfor the change to take effect
The easiest way to get it working every time is to create the Github project, clone it, then move everything from your project into the cloned repo folder
That's the worse approcah. Putting a .gitignore directly in the Unity project folder is worse than putting it outside, and it doesn't make sense not to. Brackeys himself suggested having the .gitignore outside and changing it's code.
No. That's not true at all
The problem is the files are already staged
Unstage them @floral linden
The default .gitignore file has the folders at the same level.
Does it still work without modification when you put it in the parent folder?
Also, why is it bad to put it in the project folder? It makes no difference at all?