From 1442a1f1e4d68ed4bd90a59ad41840d4829648a7 Mon Sep 17 00:00:00 2001 From: muthahira04 <152952470+muthahira04@users.noreply.github.com> Date: Sat, 10 Aug 2024 16:23:23 +0530 Subject: [PATCH] Added Learn.md --- Learn.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Learn.md diff --git a/Learn.md b/Learn.md new file mode 100644 index 0000000..d010fbc --- /dev/null +++ b/Learn.md @@ -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//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 + ``` +- Step 6: Track and stage your changes. + + ``` + # Track the changes + git status + + # Add changes to Index + git add . or git add + ``` + +- 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 + ``` +- 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). \ No newline at end of file