Skip to content

Instantly share code, notes, and snippets.

@dantunes
Created March 13, 2012 07:41
Show Gist options
  • Save dantunes/2027467 to your computer and use it in GitHub Desktop.
Save dantunes/2027467 to your computer and use it in GitHub Desktop.
Git: git add [quick man]
$ git add . # add to index only files created or modified and not those deleted
$ git add -u # add to index only files modified or deleted and not those created
$ git add -A # do both operation at once, add to index all files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment