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



You can test the differences out with something like this (not that for Git version 2.x your output for git add . git status will be different):







  • git add -A stages All
  • git add . stages new and modified, without deleted
  • git add -u stages modified and deleted, without new

0 التعليقات :