Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via `{sandpaper}`
Source  : 98cd1a3
Branch  : main
Author  : Martino Sorbaro <martinosorb@users.noreply.github.com>
Time    : 2024-10-25 08:51:16 +0000
Message : Merge pull request swcarpentry#1030 from novica/issue-1026

fix: resolve swcarpentry#1025
  • Loading branch information
actions-user committed Oct 25, 2024
1 parent 78218d1 commit fe8a284
Show file tree
Hide file tree
Showing 13 changed files with 106 additions and 189 deletions.
13 changes: 0 additions & 13 deletions 03-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,6 @@ including the tracked files and sub-directories located within the project's dir
If we ever delete the `.git` subdirectory,
we will lose the project's history.

Next, we will change the default branch to be called `main`.
This might be the default branch depending on your settings and version
of git.
See the [setup episode](02-setup.md#default-git-branch-naming) for more information on this change.

```bash
$ git checkout -b main
```

```output
Switched to a new branch 'main'
```

We can now start using one of the most important git commands, which is particularly helpful to beginners. `git status` tells us the status of our project, and better, a list of changes in the project and options on what to do with those changes. We can use it as often as we want, whenever we want to understand what is going on.

```bash
Expand Down
6 changes: 3 additions & 3 deletions 04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $ ls
guacamole.md
```

`guacamole.md` contains a single line, which we can see by running:
`guacamole.md` contains three lines, which we can see by running:

```bash
$ cat guacamole.md
Expand Down Expand Up @@ -222,7 +222,7 @@ $ git status
On branch main
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(use "git restore <file>..." to discard changes in working directory)
modified: guacamole.md
Expand Down Expand Up @@ -285,7 +285,7 @@ $ git status
On branch main
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(use "git restore <file>..." to discard changes in working directory)
modified: guacamole.md
Expand Down
Loading

0 comments on commit fe8a284

Please sign in to comment.