Gitub Workflow
Last updated
Last updated
The recommended Github work flow here is for developers to submit code and documentation contributions to MOSIP open source repositories.
Fork MOSIP repository of interest from https://github.com/mosip/
Clone the fork to your local machine. Eg:
Set upstream project as the original from where you forked. Eg:
Make sure you never directly push to upstream.
Confirm the origin and upstream.
Create a new issue in .
You may work on master
, switch to a branch (like Release branch) or create a new branch.
Make sure you are up-to-date with upstream repo.
Once you are done with the work, commit your changes referring to Jira number in the commit message. Eg:
Once again ensure that you are up-to-date with upstream repo as it may have moved forward.
Build and test your code. Make sure it follows the coding guidelines.
Push to your forked repo (origin).
Create a pull-request on your forked repo. Direct the pull-request to master
or any specific branch on upstream (like a Release branch).
Make sure the automatic tests on Github for your pull-request pass.
The pull-request shall be reviewed by reviewers.