Suggestion for 'git add' CLI
- From
- me@alirezaarabi.com <me@alirezaarabi.com>
- Date
- Jul 11, 2022, 06:58 UTC
- Message-ID
- <84b593cf1bacc4541a7a4ca24a5e98fa@alirezaarabi.com>
hi there, I have a suggestion about git CLI.when I use 'git add -A' or 'git add --all' it stages all of my files but when I use git add <file_name> it adds the file name to the stage, not all files. but when I use ' git add <file_name> --all ' it also works and adds all the files to the stage. I think it's better to provide a warning for this situation. thank you.