Which command adds a file to the Git staging area?

Git Easy

Git — Easy

Which command adds a file to the Git staging area?

Key points

  • `git add` specifies files for staging
  • `git commit` finalizes changes
  • `git push` updates remote repositories
  • `git stage` is not a recognized command

Ready to go further?

Related questions