I am using GitHub for about 1 month now, and today I found that you can't push to the GitHub repo, if the repo has folders (For me Java Packages) that the local copy does not have.
Now here is my problem: I did a rewrite of my code. I just created a new project, and started organizing everything, cleaning the code, and adding comments to make the code understandable.
But now I can't push to GitHub, because my new (rewritten) code has 1 folder (Package) less. Is it possible to clear my Github repo in some way, and then upload my rewrite?