Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Learn.md #248

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
If you would like to contribute code to the project, please follow these steps:

- Step 1: [Fork](https://github.com/DSC-JSS-NOIDA/blogzen) the repo first

- Step 2: Go to your Git terminal and clone it on your machine.
```
git clone https://github.com/<your_github_username>/UMatter.git
```
- Step 3: Add an upstream link to the main branch in your cloned repo
```
git remote add upstream https://github.com/MonalikaPatnaik/UMatter.git
```
- Step 4: Keep your cloned repository up to date by pulling from upstream. This will help you avoid merge conflicts while committing new changes.
```
git pull upstream main
```
- Step 5: Create your feature branch (This is a necessary step, so don't skip it)
```
git checkout -b <feature-name>
```
- Step 6: Track and stage your changes.

```
# Track the changes
git status

# Add changes to Index
git add . or git add <file_name>
```

- Step 7: Commit your changes (Write commit message as "Small Message")
```
git commit -m "Write a meaningful but small commit message"
```
- Step 8: Push the changes for review
```
git push -u origin <branch-name>
```
- Step 9: Create a pull request on GitHub. (Don't just hit the create a pull request button; you must write a PR message to clarify why and what you are contributing).