Tuesday, October 10, 2017

Difference between “git add -A” and “git add .”

Here is table for quick understanding:
Git Version 1.xenter image description here
Git Version 2.xenter image description here
Long-form flags:
  • git add -A is equivalent to git add --all
  • git add -u is equivalent to git add --update
Further reading:

No comments:

Post a Comment