Skip to content

Instantly share code, notes, and snippets.

@ashx3s
Last active October 25, 2021 05:36
Show Gist options
  • Save ashx3s/695f214efa87cb48a45a51bd443f2129 to your computer and use it in GitHub Desktop.
Save ashx3s/695f214efa87cb48a45a51bd443f2129 to your computer and use it in GitHub Desktop.
Feature Branch Activity

Feature Branch

Try creating a feature branch to experiment with a new design system. Using a feature branch will keep your original code safe from any confusing mistakes. Plus you can always merge your feature into main when you're happy

Steps

  1. Create a new branch in one of your repositories.
  • git checkout -b feature-title
  1. Add a css framework to it and push it to remote
  • make sure to add node_modules/ to your .gitignore
  1. Happy Hacking!

Note

  • If you need to edit your original branch. Remember that you need to switch back to it
    • to do this, use the command git checkout main
    • then to go back to your feature, you would use git checkout feature-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment