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

Steps first open source contribution #310

Open
wants to merge 2 commits into
base: master
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
54 changes: 54 additions & 0 deletions guides/Version_Control/Steps-to-First-Contribution.md
Original file line number Diff line number Diff line change
@@ -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 <link-to-forked-repository>`. 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 <your-branch-name>
```
```
git checkout <your-branch-name>
```
`<your-branch-name>` = 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 <your-branch-name>
```

### 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.