Skip to content

Commit 562fd42

Browse files
committed
Added a warning for git commit -a -m""
1 parent 82fa5e9 commit 562fd42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ $ 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.
469470

470471
[[_removing_files]]
471472
==== Removing Files

0 commit comments

Comments
 (0)