Skip to content

Commit

Permalink
emphasize the use of "git status"; closes #451
Browse files Browse the repository at this point in the history
  • Loading branch information
bast committed Sep 1, 2024
1 parent 519e4f3 commit 65f4efb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions content/commits.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,3 +452,5 @@ their differences.
files with sensitive information or files which are generated as part of
the build process should not be added to Git. For this we use
`.gitignore` (more about this later: {ref}`what-to-avoid`).
- Unsure on which branch you are or what state the repository is in?
On the command line, use `git status` frequently to get a quick overview.
11 changes: 10 additions & 1 deletion content/level.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Practical advice: how much Git is necessary?
# Practical advice: How much Git is necessary?

:::{instructor-note}
- 20 min teaching/discussion
:::


## Working on the command line? Use "git status" all the time

Unsure on which branch you are or what state the repository is in? On the
command line, use `git status` frequently to get a quick overview.
The `git status` command is one of the most useful commands in Git
to inform about which branch we are on, what we are about to commit,
which files might not be tracked, etc.


## Writing useful commit messages

Useful commit messages summarize the change and provide context.
Expand Down

0 comments on commit 65f4efb

Please sign in to comment.