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

Update CONTRIBUTING.md #2031

Merged
merged 1 commit into from
Nov 10, 2024
Merged
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
26 changes: 22 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,30 @@ Clone the repository to your local machine using:
$ git clone https://github.com/<your-username>/algo.git
```

### 3. Create a New Branch
Create a branch for your contribution:
### 3. 📂 Change the working directory:
```bash
cd algo
```

### 4. 🔗 Add a reference to the original repository.
```bash
$ git checkout -b <branch-name>
```
git remote add upstream https://github.com/ajay-dhangar/algo.git
```

### 5. 🔍 Check the remotes for this repository.
```bash
git remote -v
```

### 6. ⬇️ Always take a pull from the upstream repository to your main branch to keep it up-to-date with the main project (updated repository).
```bash
git pull upstream main
```

### 7. 🌿 Create a new branch.
```bash
git checkout -b <your-branch-name>
```

### 4. Make Your Changes
Make your changes, which could include:
Expand Down
Loading