npm # Github team update process
- Master is locked
- Dev is where we all pull / merge and push to
- We're using branches from Dev to our own branch called dev-myname
- Once our dev-myname is updated we merge with dev
- once dev is working with all submitted changes from all users we push to master
Each team member will follow these steps to maintain a code update lifecycle
git clone [email protected]:TangJames/Code-Scratch.git
git checkout -b dev-jesse (this makes the branch) skip to step 2
FIRST, get your own tree clean with:
git add -A
git commit -m "message about what youve changed here"
THEN, get the other's updates to work from
git pull origin dev
git status
git add -A (or git add .)
git commit -m "my comments here"
git push origin dev-myname
- Compare pull reqeuest button
- Change 'Master' to 'Dev'; Compare 'Dev' to 'Dev-Myname'
- Merge pull request
- Confirm merge