To save changes in Git, first stage them using git _______, then commit using git commit.

  • add
  • commit
  • stage
  • push
In Git, the command to stage changes before committing is git add. This command adds changes from the working directory to the staging area, allowing you to include them in the next commit.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *