We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1688af4 commit a02b37aCopy full SHA for a02b37a
book/02-git-basics/sections/recording-changes.asc
@@ -466,8 +466,8 @@ $ git commit -a -m 'added new benchmarks'
466
----
467
468
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 necessarily 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.
+That's because the `-a` flag includes all changed files.
+This is convenient, but be careful; sometimes this flag will cause you to include unwanted changes.
471
472
[[_removing_files]]
473
==== Removing Files
0 commit comments