jack-zheng
5/11/2018 - 11:23 AM

git, PR process

git, PR process

PR Process

Enable PR process

repo -> setting -> branches -> Protected branches(choose a branch) -> check protect this branch + require pull request reviews before merging

Refer to: Enable PR Process

Code Check In Process After Enable PR

1. git checkout -b feature/XXX | defect/XXX  <- equals to: git branch feature/XXX + git checkout feature/XXX
2. make some change
3. git checkout master + git pull <- make sure your master is head version
4. git checkout feature/XXX <- go back to feature branch
5. git merge master <- do code sync before you upload your branch, there maybe some conflict, resolve it
6. git push --set-upstream origin feature/XXX <- go to github page, there will be a new branch show out there
7. click pull/request button and go merge process

Draw a map if possible

Other Source

Video Of PR