The two commands are identical because
git add
defaults to
-A
git add my_dir  /  git add -A my_dir
by Valeri Tandilashvili
4 years ago
Git
Git Tutorials
1
Pro tip: use ```triple backticks around text``` to write in code fences