Skip to content

Commit 65f4efb

Browse files
committed
emphasize the use of "git status"; closes #451
1 parent 519e4f3 commit 65f4efb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

content/commits.md

+2
Original file line numberDiff line numberDiff line change
@@ -452,3 +452,5 @@ their differences.
452452
files with sensitive information or files which are generated as part of
453453
the build process should not be added to Git. For this we use
454454
`.gitignore` (more about this later: {ref}`what-to-avoid`).
455+
- Unsure on which branch you are or what state the repository is in?
456+
On the command line, use `git status` frequently to get a quick overview.

content/level.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
# Practical advice: how much Git is necessary?
1+
# Practical advice: How much Git is necessary?
22

33
:::{instructor-note}
44
- 20 min teaching/discussion
55
:::
66

77

8+
## Working on the command line? Use "git status" all the time
9+
10+
Unsure on which branch you are or what state the repository is in? On the
11+
command line, use `git status` frequently to get a quick overview.
12+
The `git status` command is one of the most useful commands in Git
13+
to inform about which branch we are on, what we are about to commit,
14+
which files might not be tracked, etc.
15+
16+
817
## Writing useful commit messages
918

1019
Useful commit messages summarize the change and provide context.

0 commit comments

Comments
 (0)