git add defaults to -A git add my_dir / git add -A my_dirgit add -A inside sub-directory, it will stage all of the changes even though some of the changes are up one directory.
But git add . will only stage all updated, deleted and new files that are inside the sub-directory
If we are inside my_dir sub-directory, the two commands will do the samegit add . / git add -A my_dir/
https://youtu.be/tcd4txbTtAY?t=349git add --all / git add -A
-A is a short handhand notation for --allgit stash on one branch and then git stash pop on another branch (to commit changes on another branch)git stash cleargit stash drop stash@{0}git stash popgit stash apply stash@{0}
does not delete the stashgit stash list