QuestionQ26

VerifiedServices and User Management

A Linux administrator is modifying local files that belong to a Git repository. The administrator must retrieve changes from the remote Git repository. Which command should be used to save the local modifications for later review?

Explanation

git stash saves uncommitted local changes in a stash so the working tree can be cleaned before retrieving or integrating remote changes. The saved modifications can later be reviewed or reapplied.

Community Discussion

No comments yet. Be the first to start the discussion!