Skip to content

Commit 00ef284

Browse files
committed
Added a warning for git commit -a -m""
1 parent ea7326e commit 00ef284

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/02-git-basics/sections/recording-changes.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,8 @@ $ git commit -a -m 'added new benchmarks'
466466
----
467467

468468
Notice how you don't have to run `git add` on the `CONTRIBUTING.md` file in this case before you commit.
469-
But beware because you can commit files that you don't necesarily want to commit.
469+
But beware because you can commit files that you don't necesarily want to commit. Be diligent when you need to commit files, and most
470+
of the time you should stage and then commit you files.
470471

471472
[[_removing_files]]
472473
==== Removing Files

0 commit comments

Comments
 (0)