Skip to main content

Difference between “git add -a” vs “git add .” vs “git add * “

Git add –all : It add all files and folder from working directory to stage.

Git add . : It adds all files & folder within current directory only from working directory to stage.

Git add * : It adds all files and folders except deleted files and folders from working directory to stage.