Feature Branch
# 1. create feature branch
git remote add upstream
http://github.com/cubrid/cubrid
git fetch upstream
git checkout -b feature/my_feature upstream/develop
git push -u upstream feature/my_feature
# 2. Multiple PRs on github
git fetch upstream
git checkout -b CBRD-OOOOO upstream/feature/my_feature
# many commits (development in progress)
git push -u origin CBRD-OOOOO
# Code review after PR creation
# 2. Repeat multiple times == multiple review rounds
# 3. sync with develop by merge (do not PR commit for sync)
git checkout feature/my_feature
git fetch upstream
git merge upstream/feature/my_feature // should be fast-forward merging
git merge upstream/develop
git push upstream feature/my_feature
# 2. Repeat multiple times == multiple review rounds
git push origin CBRD-OOOOO
# Create PR for CBRD-00000Last updated
Was this helpful?