Skip to content

Commit f11baff

Browse files
committed
Remove git add commands in favor of git commit --all
1 parent ba7d7e6 commit f11baff

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

modules/01-collaborating-in-jupyterhub/exercise.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ We'll explore some of the latest examples of this progress soon.
9898
1. **Run the following commands in the terminal**:
9999

100100
```bash
101-
git add .
102-
git commit --message="Add new data to GeoJSON"`
101+
git commit --all --message="Add new GeoJSON data"`
103102
```
104103

105104
:::{warning} This step may fail!

modules/03-sharing-your-work/exercise.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ When you build your own MyST website, you can reproduce this with `myst init --s
2323
1. **Commit and push**:
2424

2525
```bash
26-
git add .
27-
git commit --message="Edit to trigger GitHub Pages deployment"
26+
git commit --all --message="Edit to trigger GitHub Pages deployment"
2827
git push origin main
2928
```
3029

@@ -65,8 +64,7 @@ When you build your own MyST website, you can reproduce this with `myst init --s
6564
### Step 5: Save to GitHub
6665

6766
```bash
68-
git add .
69-
git commit --message="Display data in notebook"
67+
git commit --all --message="Display data in notebook"
7068
git push origin main
7169
```
7270

0 commit comments

Comments
 (0)