Skip to content

Instantly share code, notes, and snippets.

@devzakir
Last active December 16, 2021 15:32
Show Gist options
  • Save devzakir/51a5d9f3658c1b7bcf7bf6d766b17a98 to your computer and use it in GitHub Desktop.
Save devzakir/51a5d9f3658c1b7bcf7bf6d766b17a98 to your computer and use it in GitHub Desktop.
Branch & Pull Requests

Please commit your changes before changing branch

For the first you have to create live branch if you don't have live branch on your repo git checkout -b live

Branch is available on github repo but not in your computer

git fetch origin

# create a new branch from existing branch
git checkout -b `live` origin/live

Deploy changes on Github & Netlify

# Go to live brnach
git checkout live

# build your code
gulp build

# push code to github
git push origin live

### Congratulations 🔥
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment