DEV Community

Discussion on: Delete Your Master

Collapse
 
jessekphillips profile image
Jesse Phillips

If you delete your local master you still have references to the remote master. I don't see how a local master gets around air gaps or network restrictions, your local master can't be updated until git updates the origin/master branch.

Branch origin/master will always reflect the remote master branch after a fetch, even if a force push was done. The only exception to this is if your remote has a Master branch and you're on Windows.