So for my first webapp I tried to develop all or a lot of the components at once and have succeeded implementing things I didn't think were possible. However, during the deploy process, I need to start releasing these little by little and thus a lot of code that I have committed to master shouldn't really be there until a later date. I would need to remove it for now, and add it in back later.
How can I trim my codebase so that it only has the code I need for now, and keep all that committed code somewhere I go back and add it in with a git merge later? (Instead of having the git merge delete those things I deleted from master)
I will probably need to do this multiple times.
(Probably shouldn't have done it this way, but shit happens when you learn to develop by yourself without guidance.)