Skip to content

Instantly share code, notes, and snippets.

@Sstobo
Last active March 12, 2018 22:57
Show Gist options
  • Save Sstobo/cdb29a83cfa69411b68a14e9868442ed to your computer and use it in GitHub Desktop.
Save Sstobo/cdb29a83cfa69411b68a14e9868442ed to your computer and use it in GitHub Desktop.
Git Workflow
CRITICAL GIT FLOW PROTOCOL
#### Creating individual branch for each feature ####
pick issue make a branch for it -
naming convention:
[firstname]-feature-[feature-name]
ie: sean-feature-schema
## CREATE NEW BRANCH
-> do a pull, make sure i have latest code
-> git checkout -b 'sean-feature-schema'
-> git push origin sean-feature-schema
## TO PULL (every pull)
-> git pull --rebase origin develop
## SQUASH COMMITS
## TO PUSH
-> git push origin [branch]
## TO DEPLOY
-> git branch develop
-> git push origin develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment