Change local path of repos

Hi I’m a complete newbie to github. I have managed to figure out how to setup a repository and update it as I’ve been working on a Unity project.

I’m needing help on how to change the path of my main projects repos. I messed up by having it update literally everything about the game project including the 3D models and audio files.

However I just want it to update only the scripts folder which is a few folders deep within the repos. Any way I can fix this?

Cheers for taking the time to read this!

Can you be more specific? I don’t quite understand what you did here or the intention. Maybe provide structure of project and what you already did, i.e. setup what exactly?

Sorry about that. So I have a unity project that I had setup as my repository.

and within this folder is another folder where all my scripts are. and I now only want the GitHub desktop app to commit changes from the script folder within the “Magic Tavern” Folder.

Is there a way I can change the path that github is following from just Magic Tavern to the Scripts folder.

image