$ ./guess_the_languageGit
Git · easy · #3

Which command lets you review a modified file hunk by hunk and stage only some of the hunks?

  1. git add -p
  2. git add -u
  3. git add -A
  4. git add .
-p (--patch) asks about each hunk interactively. -A, -u and . stage whole files.
Play Git ▸