-
Notifications
You must be signed in to change notification settings - Fork 34
Issue driven git process for organizational people
Juncheol Cho edited this page Nov 16, 2017
·
2 revisions
- Don't rebase to master
- Don't push your commit to master directly
- Use pull request
-
Select issue
-
Get latest commits from Github
$ git checkout master && git pull origin master
or
$ git clone [email protected]:darkonhub/darkon.git
- Checkout new branch in your workspace (ex, issue-97)
$ git checkout -b issue-97
- Coding & commit
$ git commit -m "change message"
- Pull latest master code to your local master branch
$ git checkout master && git pull origin master
- Comeback working branch
$ git checkout issue-97
- Rebase from master
$ git rebase master
7-1. If you faced conflict, you have to solve it.
# solve conflicted part ...
$ git add {{ conflicted files }}
$ git rebase --continue
- Push your code
$ git push origin issue-97
- Make pull request in Github