Skip to content

Instantly share code, notes, and snippets.

@Haeniken
Created October 9, 2021 18:18
Show Gist options
  • Save Haeniken/4ce3487f0e7eaf689d279fe3abac7614 to your computer and use it in GitHub Desktop.
Save Haeniken/4ce3487f0e7eaf689d279fe3abac7614 to your computer and use it in GitHub Desktop.
Create empty branch git
git checkout --orphan <branchname>
git rm --cached -r .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment