Skip to content

Commit 922bd18

Browse files
Update README.md
1 parent 49f6e97 commit 922bd18

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
2. Navigate to your fork of the repository on GitHub
77
3. Create a local copy of your fork: in the terminal,
88
```bash
9-
git clone git@github.com:<your username>/git-tutorial-2025>
9+
git clone git@github.com:<your username>/git-tutorial-2025
1010
```
1111
4. Now you have a local copy of this repo! Make some changes. Correct your name in the "students.txt" file (on your machine, not on GitHub).
1212
5. Add the file to the upcoming commit from the terminal: `git add students.txt`
13-
6. Add a useful message that summarizes your changes: `
13+
6. Add a useful message that summarizes your changes. Either add a message directly in the command line with
1414
```bash
15-
git commit -m "<summary>"
15+
git commit -m "<Very useful commit message>"
16+
```
17+
or set the default commit message editor to be your editor of choice:
18+
```bash
19+
git config --global core.editor "<your favorite editor, such as vim>"
1620
```
1721
7. Push your changes from your local environment to your fork on GitHub:
1822
```bash
@@ -37,14 +41,7 @@ In Python,
3741
python -m pytest
3842
```
3943

40-
4. Once the bug is fixed, commit your changes with `git commit` and a useful message. Either add a message directly in the command line with
41-
```bash
42-
git commit -m "<Very useful commit message>"
43-
```
44-
or set the default commit message editor to be your editor of choice:
45-
```bash
46-
git config --global core.editor "<your favorite editor, such as vim>"
47-
```
44+
4. Once the bug is fixed, commit your changes with `git commit` and a useful message.
4845

4946
5. When pushing, git will ask you to specify which remote you want to push to, with the `git push --set-upstream origin quadfix-<your-name>` command. This specifies that you want your repository on GitHub (the remote called "origin") to have a new branch with the same name as your local branch.
5047
6. Submit a pull request to the `main` branch. We'll review and merge later.

0 commit comments

Comments
 (0)