Skip to content

Commit da61d9b

Browse files
Update git-add.md (#900)
Replace `git add .` with `git add -A`
1 parent 0205dd5 commit da61d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-guides/git-add.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This means if you `git add` a deleted file the _deletion_ is staged for commit.
2727
### Common usages and options for `git add`
2828

2929
* `git add <path>`: Stage a specific directory or file
30-
* `git add .`: Stage all files (that are not listed in the `.gitignore`) in the entire repository
30+
* `git add -A`: Stage all files (that are not listed in the `.gitignore`) in the entire repository
3131
* `git add -p`: Interactively stage hunks of changes
3232

3333
You can see all of the many options with `git add` in [git-scm's documentation](https://git-scm.com/docs/git-add).

0 commit comments

Comments
 (0)