DEV Community

Discussion on: The Day That Git Saved My Life

Collapse
 
jessekphillips profile image
Jesse Phillips

The commands I would have chosen

$ git checkout -b new-big-feature
$ git branch -f master origin/master

I've started to delete local master development should be on a branch. And origin/master already tracks upstream.

The other option I choose.

$ git push origin master:new-big-feature