What is the difference between git commit -m and git commit -am?

Muhammad - Jul 2 - - Dev Community

With git commit -m you only commit changes which are added using git add command.

With git commit -am you commit ALL changed including those changes as well which are not added ussing git add

. . . . . . . . . . . . . . . . . . . .