The git _______ command can be used to temporarily store uncommitted changes and clear the working directory.

  • stash
  • save
  • store
  • backup
The correct option is stash. The git stash command is used to save changes that are not ready to be committed yet. It allows you to temporarily store your modifications and revert the working directory to match the last commit. This is useful when you need to switch branches or apply changes later.
Add your answer
Loading...

Leave a comment

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