Skip to content

Commit ee4966d

Browse files
authored
Add a Step to stage changes (#610)
Add step 6:stage your changes under the 'Contribute' heading of README.md
1 parent 24e6226 commit ee4966d

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,21 +244,32 @@ To ensure a smooth collaboration process, Follow these steps:
244244
245245
- If applicable, run tests to ensure that your changes do not break existing functionality.
246246
247-
6. **Commit Your Changes:**
247+
6. **Stage Your Changes:**
248+
249+
- Use the `git add` command to stage the changes you want to commit.
250+
```bash
251+
git add . # Stages all modified files
252+
```
253+
- You can also stage specific files by replacing `.` with the file names:
254+
```bash
255+
git add <file1> <file2>
256+
```
257+
258+
7. **Commit Your Changes:**
248259
249260
- Commit your changes with a clear and descriptive message:
250261
```bash
251262
git commit -m "Add a feature or fix a bug"
252263
```
253264
254-
7. **Push to Your Fork:**
265+
8. **Push to Your Fork:**
255266
256267
- Push your changes back to your forked repository:
257268
```bash
258269
git push origin your-feature-branch
259270
```
260271
261-
8. **Create a Pull Request:**
272+
9. **Create a Pull Request:**
262273
- Navigate to the original repository where you want to propose your changes.
263274
- Click on "New Pull Request" and follow the instructions to submit your changes for review.
264275

0 commit comments

Comments
 (0)