Skip to content

Commit a471e94

Browse files
Lancelot the BraveSaransh-cpp
authored andcommitted
fix: make git commands work
1 parent 3a07da1 commit a471e94

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

ch00git/05Collaboration.ipynb.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
==================
115115

116116
* Ben Eighe
117+
* Ben Nevis
117118
* Cairngorm
118119

119120
# %% jupyter={"outputs_hidden": false} language="bash"
@@ -188,6 +189,7 @@
188189
# git diff
189190

190191
# %% jupyter={"outputs_hidden": false} language="bash"
192+
# git add Wales.md
191193
# git commit -am "Translating from the Welsh"
192194

193195
# %% jupyter={"outputs_hidden": false} language="bash"
@@ -206,6 +208,7 @@
206208
* Snowdon
207209

208210
# %% jupyter={"outputs_hidden": false} language="bash"
211+
# git add Wales.md
209212
# git commit -am "Add a beacon"
210213

211214
# %% jupyter={"outputs_hidden": false} language="bash"
@@ -296,6 +299,7 @@
296299
* Fan y Big
297300

298301
# %% jupyter={"outputs_hidden": false} language="bash"
302+
# git add Wales.md
299303
# git commit -am "Add another Beacon"
300304
# git push
301305

@@ -313,6 +317,7 @@
313317
* Glyder Fawr
314318

315319
# %% jupyter={"outputs_hidden": false} magic_args="--no-raise-error" language="bash"
320+
# git add Wales.md
316321
# git commit -am "Add Glyder"
317322
# git push
318323

@@ -354,7 +359,7 @@
354359
# Now commit the merged result:
355360

356361
# %% jupyter={"outputs_hidden": false} language="bash"
357-
# git commit -a --no-edit # I added a No-edit for this non-interactive session. You can edit the commit if you like.
362+
# git commit -a --amend --no-edit # I added a No-edit for this non-interactive session. You can edit the commit if you like.
358363

359364
# %% jupyter={"outputs_hidden": false} language="bash"
360365
# git push

ch00git/10Branches.ipynb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
# git diff Scotland.md
140140

141141
# %% jupyter={"outputs_hidden": false} language="bash"
142+
# git add Scotland.md
142143
# git commit -am "Commit Aonach onto main branch"
143144

144145
# %% [markdown]

ch00git/11Miscellany.ipynb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959

6060
# %% attributes={"classes": [" Bash"], "id": ""} jupyter={"outputs_hidden": false} language="bash"
6161
# git tag -a v1.0 -m "Release 1.0"
62+
# git push origin --delete v1.0 # clear the tag if it already exists
6263
# git push --tags
6364

6465
# %% jupyter={"outputs_hidden": false}
@@ -68,6 +69,7 @@
6869
========================
6970

7071
* Cross Fell
72+
* Ingleborough
7173

7274
# %% jupyter={"outputs_hidden": false} language="bash"
7375
# git add Pennines.md

0 commit comments

Comments
 (0)