Skip to content

Instantly share code, notes, and snippets.

@dninomiya
Created January 11, 2024 03:39
Show Gist options
  • Save dninomiya/03154c514ad17c14fdcf18d366e0ae71 to your computer and use it in GitHub Desktop.
Save dninomiya/03154c514ad17c14fdcf18d366e0ae71 to your computer and use it in GitHub Desktop.
git checkout --orphan temp_branch && git add -A && git commit -am "Initial commit" && git branch -D main && git branch -m main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment