diff --git a/guides/Version_Control/Steps-to-First-Contribution.md b/guides/Version_Control/Steps-to-First-Contribution.md new file mode 100644 index 00000000..56db1004 --- /dev/null +++ b/guides/Version_Control/Steps-to-First-Contribution.md @@ -0,0 +1,54 @@ +# Getting Started with Open Source Contributions on GitHub + +### 1. Locate the Repository for Contribution +For example, "the-ethan-hunt/first-timers-guide" + +### 2: Fork the Repository +Click "Fork" button + +### 3. Open Your Terminal +- Create a directory where you want to work from +- Navigate to the directory +- Run `git init` + +### 4. Clone Forked Repository +Clone the forked repository using `git clone `. For example: + ``` + git clone https://github.com/YourGitHubUsername/first-timers-guide.git + ``` + +### 5. Navigate to the Cloned Repository +For example: + ``` + cd first-timers-guide + ``` + +### 6. Create and Switch Branch + ``` + git branch + ``` + ``` + git checkout + ``` +`` = descriptive name for your branch. + +### 7. Make Your Changes, Additions or Modifications + +### 8. Stage and Commit + ``` + git add . + ``` + ``` + git commit -m "Commit Message" + ``` + +### 9. Push Your Branch to the Forked Repository + ``` + git push origin + ``` + +### 10. Create PR (Pull Request) +Go to your forked repository on GitHub. Click the **_"Compare & pull request"_** button. + +### 11. Submit PR +And wait for feedback from repository maintainer. \ No newline at end of file