#Problem with Github Desktop + Unity

1 messages · Page 1 of 1 (latest)

solar saffron
#

Hmm, that's weird. Did you try restarting/reloading Github Desktop?

floral linden
#

Yes I did, it did nothing sadly

solar saffron
#

I have the exact same set-up for my Github repos and it works just fine.

floral linden
#

Yeah that's weird, I have no idea why

#

Maybe if I delete the ignored folder it will work ?

solar saffron
#

the gitignore?

floral linden
#

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

solar saffron
#

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.?

floral linden
#

the red arrow is where my .git is

solar saffron
#

That's a lto of World Designs xD

floral linden
#

Yeah lol I messed up a bit I know

solar saffron
#

It is your repo folder?

#

Where you have your .gitignore, and prj?

floral linden
#

with the red arrow, yes

solar saffron
#

Okay

floral linden
solar saffron
#

Now go into World Design

floral linden
solar saffron
#

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.

floral linden
#

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

solar saffron
floral linden
#

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

solar saffron
#

What was it?

floral linden
#

I'm still having the issue, I just found out about how to open a terminal to run a command with github desktop

solar saffron
#

oh

floral linden
#

It sadly didn't worked

#

I think I'll just create another repo + project

solar saffron
#

Try that

#

And follow the tutorial step by step

floral linden
#

Well with another repo it works

#

I did exactly the same things haha it's so weird

odd narwhal
#
  1. You need to put the .gitignore in the same folder of the Unity project (In the first screenshot, it's currently in the parent folder of the project)
  2. You need to close and reopen Github Desktop for 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

solar saffron
runic forge
#

The problem is the files are already staged

#

Unstage them @floral linden

odd narwhal
#

Also, why is it bad to put it in the project folder? It makes no difference at all?