I'm working on a project where I'm running a server on my local machine, developing the code on my local machine, and then committing my changes to a repo on Github.com via the Github Desktop app. As I develop, I'm at times reorganizing things - renaming directories, changing filenames, deleting files, etc.
Recently I noticed that when I make these kinds of changes, the old files and directories persist in the repo on Github.com, which makes for a fair amount of messiness.
I've looked for options in the desktop app and on Github.com to change this behavior - ie, make it so that locally deleted files and directories are deleted in the online repo as well, but can find nothing. I don't want to manually delete obsolete content on Github.com, or delete the repo contents entirely and start over if I don't have to.
Insight would be greatly appreciated.
Thanks.