# Code Flow
##

## Code change
 1. Create a new local branch from dev branch or child branch of dev branch
 
 ```
    git branch feature1 dev
    git checkout feature1
    or 
    git checkout -b feature1
 ```
 
## Code review
 1. Staging and Commit the change to your local branch. To create a pull request, it will also need to publish your branch.
```
   git add <file>, [<file>...]
   git commit -m <message>
   git push   
```
 2. Create a pull request from your branch to dev branch. So, other team member will be able to review and comment on the change. 
 3. Other team members can go to our github website, find the pull request and review the changes.  
    *The "files changed" tab is a better place to put the in line comment rather than "Commits" Tab on pull request page.*

## Test in INT(ernal) enviroment
 1. Build dev branch and test it in INT enviroment

## Publish to PROD(uct) environment 
 1. Create a pull request from dev branch to master branch
 2. Build master branch and deploy to PROD enviroment


### Reference:

 * [markdown-editor](http://jbt.github.io/markdown-editor)
 * [Git-Documentation](http://git-scm.com/doc)
