How to switch between different iterations of 1 file in a single project?


I’m pretty fresh-faced when it comes to programming, so bear with me.

I’m wondering what the solution to this problem is:

When I’m working with and experimenting with an oF project, I’d love to be able to save and reference all the different iterations of the project that I make.

Obviously even a few characters difference can make a huge difference to a resulting sketch, and nearly always just a small change in the ‘ofApp.cpp’ file. It seems like a waste to save as a whole new project or manually switch out different ‘ofApp.cpp’ files

Is there a solution or tool that would allow me to switch between different versions of a single file in an oF project?


This is what Git is designed for. You create separate branches for each iteration of your project and switch between them.