-
Notifications
You must be signed in to change notification settings - Fork 1
Git work flow
Geo Gecko - Uganda edited this page Nov 25, 2019
·
1 revision
Welcome to the DES_dashboard_project wiki!
First things first:
- There are two main branches off of which work is to be done; master and develop branch.
- To update the master branch, an administrator of this project will periodically merge develop into master.
- To update develop, pull-requests are to be raised.
Here is how to create a pull-request;
- First make sure the develop branch is up-to-date.
git checkout developgit pull origin develop - If you're just beginning to work, create a branch off of develop.
git checkout -b develop. - If ,however, you already have a branch, run
git rebase developto update your branch commits so that your branch is up-to-date with develop. - Should the output indicate existence of conflicts, reach out to the create of this wiki :).
- After all that, commit any changes you've made and push.
git push origin your-branch - On GitHub, there should be a
create pull-requestbutton on the GitHub-repository somewhere. Click it!! - Two branches will be shown. Make sure that the first is develop and second is your-branch.
- Name of the PR and details should be relevant to the changes being introduced.
- Create the PR and request for someone to review it before having it merged.