We love contributions from everyone. By participating in this project, you agree to abide by the code of conduct
We expect everyone to follow the code of conduct anywhere in this project codebases, issue trackers, chatrooms, and mailing lists.
Below are the steps to be followed to contribute to the repository. Lets together make this a wonderful repository 💪
- Take a look at the Existing issues or create your own issues! Link
- Comment on the issue.
- Wait for the admin to assign the issue to you after which you can start working on it.
Note : Your PR will only be approved if you are assigned to that issue. Also, every small project must have a associated issue for it.
- Clone the repository into your system using the below command
$ git clone https://github.com/<your-username>/<project-sirius>
Now, let's add a reference to the original Repository repository using
$ git remote add upstream https://github.com/CYBORG-NIT-ROURKELA/project-sirius.git
This adds a new remote named upstream.
Create a new branch. Follow the branch creation rule.
- Go to this link and see the issues created by you or assigned to you.
- Create a new branch for each issue in your forked repository.
- The name of your branch should follow the following rule: [Your Name #]-[Short Word According to Issue Assigned(all lowercase letters and words separated by a hyphen(-))].
- That is, if the Name of the user #Anshu and issue assigned is Login Form, then the branch name should be Anshu-Login-Form
$ git checkout -b branch_name
- Work on the issue(s) assigned to you.
- Create a new folder with suitable name.
- Add all the files/folders needed.
- After you've made changes or made your contribution to the project add changes to the branch you've just created by:
# To add all new files to branch Branch_Name
$ git add .
- To commit give a descriptive message for the convenience of reveiwer by:
# This message get associated with all files you have changed
$ git commit -m 'message'
- Finally, push your work in your branch in Github.
$ git push -u origin Branch_Name
-
Go to your repository in browser and click on compare and pull requests. Then add a title and description to your pull request that explains your contribution. You can use the PR template to explain your work.
-
Treat
master
branch as your master branch, i.e. all your PRs should usemaster
as the target branch. -
Congrats! Your PR has been submitted and will be promptly reviewed and suggestions would be added by the admin to improve it.
-
Add Screenshots to help us know what this issue is all about.
-
Finally, It will be merged by the admin.
-
Always follow commit message standards
-
About the fork-and-branch workflow
all the contributions from anyone to improve/add new code to this project are welcomed. Every small contributions matters and we are thankfull to all the contributors. 😇