Last active
March 12, 2018 22:57
-
-
Save Sstobo/cdb29a83cfa69411b68a14e9868442ed to your computer and use it in GitHub Desktop.
Git Workflow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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