Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 2

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

1 Reply
Highlighted
Commander Lvl 3
Message 2 of 2

Re: creating blank branch from master - can it be done?

https://stackoverflow.com/a/13969482

 

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


- Mark