I was building something, it was a working prototype but had glitches and now we decided to use a library to do some heavy-lifting for us, and then code it on top of that. As of now I have been just committing to master. How should I proceed now?
- Should I create a branch of master and push new code in there and let master be in this state?
- Should I tag the last commit and then continue working on master?
What’s your opinion on how should I handle the workflow when the direction of the project has changed?
Since you’ll want your code available until you implement the library create a new branch and start implementing it on the master when you are done with implementing your library create a tag and then merge your new branch.