2021-10-12    Share on: Twitter | Facebook | HackerNews | Reddit

Git Add - Stage Changes in Various Ways

  • git add -A stages all changes
  • git add . stages new files and modifications, without deletions (on the current directory and its subdirectories).
  • git add -u stages modifications and deletions, without new files

With git 2.0 git add <path> is the same as git add -A <path>.

]



Tags:  git