DEV Community

Discussion on: Hack or maybe not: "Deleting" master when it gets too big

Collapse
 
joelnet profile image
JavaScript Joel

The work is always there in the.git folder. You just don't have the "branch".

But once you do git checkout -b my-new-branch origin/master, you'll have an identical copy of origib/master it'll just be called my-new-branch locally.

So when you build your future with, it's built it the latest files.