Last active
April 15, 2021 17:26
-
-
Save zerodevx/59186234e93daa6240253dce4d1b69a0 to your computer and use it in GitHub Desktop.
By far the easiest way to create an orphan branch in git - hands down 👐
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Checkout a new branch with all files removed | |
git switch --orphan <branch name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment