I’ve been making some vast changes on the master branch of my Git repository. I’m pretty new to Git and so I’m wondering:
How can I move my current master branch to a new branch and recreate my master branch from scratch for a particular folder of files?
As an example, I have another folder, like new_stuff, that contains the new files to be added to the master branch, and that old master is a new branch named old_master.
Within the directory of the repository, in the command line type the following:
This should be enough 🙂