DEV Community

Muhammad
Muhammad

Posted on

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

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

Top comments (0)