creating blank branch from master - can it be done?

I am continuing my project set up and I have came accross a little snag in my indened implemention and not sure if there is a way arround it.

Can I create a branch from the master, without any of the content held on the master branch being copied over to the new branch.  So essentially, I would be wanting to use the master branch as an archive and create branches off of it, with those branches being blank workspaces.

Can I do this, and what is the git command to do it, it its possible?

Cheers

Jay

https://stackoverflow.com/a/13969482

Check this out. Keep in mind you can never merge such a branch back into master.

1 Like