Skip to content

Instantly share code, notes, and snippets.

@ansssu
Last active March 29, 2022 15:35
Show Gist options
  • Select an option

  • Save ansssu/04c26ee26703714bd5866e857efd08d4 to your computer and use it in GitHub Desktop.

Select an option

Save ansssu/04c26ee26703714bd5866e857efd08d4 to your computer and use it in GitHub Desktop.
Create new Git Feature Branch
git checkout main
git fetch origin
git reset --hard origin/main
git checkout -b new-feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment