Guest User

Untitled

a guest
Mar 21st, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. CRITICAL GIT FLOW PROTOCOL
  2.  
  3. #### Creating individual branch for each feature ####
  4. pick issue make a branch for it -
  5. naming convention:
  6.  
  7. [firstname]-feature-[feature-name]
  8. ie: sean-feature-schema
  9.  
  10. ## CREATE NEW BRANCH
  11. -> do a pull, make sure i have latest code
  12. -> git checkout -b 'sean-feature-schema'
  13. -> git push origin sean-feature-schema
  14.  
  15. ## TO PULL (every pull)
  16. -> git pull --rebase origin develop
  17.  
  18. ## SQUASH COMMITS
  19.  
  20. ## TO PUSH
  21. -> git push origin [branch]
  22.  
  23. ## TO DEPLOY
  24. -> git branch develop
  25. -> git push origin develop
Add Comment
Please, Sign In to add comment