diff --git a/03-create.html b/03-create.html index 5218cbc580..7d1e09d865 100644 --- a/03-create.html +++ b/03-create.html @@ -521,7 +521,7 @@

BASH

Show me the solution

-
+

No. Alfredo does not need to make the desserts subdirectory a Git repository because the recipes @@ -570,7 +570,7 @@

Correcting git init Mistakes

-
+

Background

diff --git a/04-changes.html b/04-changes.html index ee45e9060b..c484f444cc 100644 --- a/04-changes.html +++ b/04-changes.html @@ -381,7 +381,7 @@


Tracking Changes

-

Last updated on 2024-12-11 | +

Last updated on 2025-01-10 | Edit this page

@@ -1001,10 +1001,10 @@

BASHvia git add) to our repository. This is the reason why you will sometimes see .gitkeep files in -otherwise empty directories. Unlike .gitignore, these files -are not special and their sole purpose is to populate a directory so -that Git adds it to the repository. In fact, you can name such files -anything you like.

+otherwise empty directories. The sole purpose of .gitkeep +files is to populate a directory so that Git adds it to the repository. +The name .gitkeep is just a convention, and in fact, you +can name these files anything you like.

  1. If you create a directory in your Git repository and populate it with files, you can add all files in the directory at once by:
@@ -1351,7 +1351,7 @@

Key Points

"url": "https://swcarpentry.github.io/git-novice/04-changes.html", "identifier": "https://swcarpentry.github.io/git-novice/04-changes.html", "dateCreated": "2014-12-04", - "dateModified": "2024-12-11", + "dateModified": "2025-01-10", "datePublished": "2025-01-10" } diff --git a/05-history.html b/05-history.html index 70054283a4..d2fdc6e456 100644 --- a/05-history.html +++ b/05-history.html @@ -724,7 +724,7 @@

Recovering Older Versions of a File

-
+

The answer is (5)-Both 2 and 4.

The restore command restores files from the repository, @@ -777,7 +777,7 @@

Reverting a Commit

-
+

The command git log lists project history with commit IDs.

@@ -837,7 +837,7 @@

OUTPUT