Skip to content

Commit

Permalink
Start to add bash commands to basic workflow
Browse files Browse the repository at this point in the history
Wanted to be able to provide bash commands so users caneventually refer back to this to understand what GitKraken is actually doing
  • Loading branch information
arnold-c committed Mar 30, 2023
1 parent 5db8e49 commit 210e7ce
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion basic-git-workflow.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

In this section, we'll put together the basic Git workflow, and show how all these many terms and commands actually fit together.
We'll start completely from scratch, and work our way up to a full-fledged Git repository.
I find that this is the best way to learn anything is to actually do it on a real project, as it's hard to conceptualize what's going on when you're just reading about it, or even working through a toy example.

I find that the best way to learn anything is to actually do it on a real project, as it's hard to conceptualize what's going on when you're just reading about it, or even working through a toy example.
And because we research infectious diseases in CIDD, we'll build up a repository that contains a notebook for an SIR model (Susceptible-Infected-Removed), and do it in both Python and R as that should allow most people to follow along with the code in a language they're familiar with.

## Creating a New Repository
Expand Down Expand Up @@ -98,6 +99,25 @@ We'll do that later after we've added a few more things to the README.

So for now, let's continue to flesh out the README.

<details>
<summary>Terminal commands</summary>
<p>

```bash
# Check what files have been changed
# -vv flag will show where the files have changed and display the diff
git status -vv

# Stage all changes
git add .

# Commit changes
git commit -m "Add structure to README" -m "Added structure to the README to outline the points that need to be expanded upon. As a license was generated on repo creation, I have linked to this in the README"
```

</p>
</details>

### About This Project

Our project is going to contain an SIR model with births and deaths, which is a simple model of infectious disease transmission.
Expand Down

0 comments on commit 210e7ce

Please sign in to comment.