To temporarily store uncommitted changes and clean the working directory, use git ______.

  • stash
  • commit
  • push
  • branch
The correct option is stash. The git stash command is used to save changes that have not been committed yet, allowing you to switch to a different branch or apply the changes later. It is useful for temporarily shelving changes.
Add your answer
Loading...

Leave a comment

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