Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42bffe2

Browse files
committed
feat: add CONTRIBUTING page
1 parent 30b0b62 commit 42bffe2

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Contributing to algorithm-cracker
2+
3+
When you find good materials to contribute to algorithm-cracker, we ask that you read our contributing guidelines carefully so that you spend less time struggling to push your PR through our code review processes.
4+
5+
At the same time, reading the contributing guidelines will give you a better idea of how to post meaningful issues that will be more easily be parsed, considered, and resolved. A big win for everyone involved! 🎉
6+
7+
## Table of Contents
8+
9+
* [How to use Git and Github](#how-to-use-git-and-github)
10+
* [Forking](#forking)
11+
* [Branching](#branching)
12+
* [Commits](#commits)
13+
* [Pull request](#pull-request)
14+
* [Code review](#code-review)
15+
* [Code of Conduct](#code-of-conduct)
16+
17+
## How to use Git and Github
18+
19+
---
20+
21+
### Forking
22+
23+
We follow the [Github forking model](https://help.github.com/articles/fork-a-repo/) and any commits should follow by this pattern. Make sure you have a `upstream` which points to this repo.
24+
25+
### Branching
26+
27+
All work on the next major release goes into master, which means you should always make a `pull request` against the master branch.
28+
29+
### Commits
30+
31+
Feel free to make as many commits as you like. In your commit messages, please write helpful information on your changes, e.g. test: book generation with XXX; feat: add a new section on YYY, etc.
32+
33+
Resolve any merge conflicts if you happen to see one, when merging your PR, we will squash your commits into one commit.
34+
35+
### Pull request
36+
37+
Before you submit a pull request, make sure your branch is up-to-date and `rebase` any of your changes on the latest upstream branch.
38+
39+
```
40+
git fetch upstream
41+
git rebase upstream/master
42+
```
43+
44+
### Code review
45+
46+
After submitting your pull request, we will take a look at what commits you want to merge into the master, make sure you follow your pull request thread closely and if things do not work out, we will let you know.
47+
48+
## Code of Conduct
49+
50+
Anything you contribute will be deemed as following the [MIT LICENSE](../LICENSE) and do read the license before you start contributing! If you submit your sophisticated algorithms that are under patent protection of any of such kind, we can not guarantee its safety!
51+
52+
Thank you so much for reading our guidelines! 🎉

0 commit comments

Comments
 (0)