File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -452,3 +452,5 @@ their differences.
452
452
files with sensitive information or files which are generated as part of
453
453
the build process should not be added to Git. For this we use
454
454
` .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.
Original file line number Diff line number Diff line change 1
- # Practical advice: how much Git is necessary?
1
+ # Practical advice: How much Git is necessary?
2
2
3
3
:::{instructor-note}
4
4
- 20 min teaching/discussion
5
5
:::
6
6
7
7
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
+
8
17
## Writing useful commit messages
9
18
10
19
Useful commit messages summarize the change and provide context.
You can’t perform that action at this time.
0 commit comments