🔥 3-day streak
CompTIA Linux+ (XK0-006)79 / 123
Question 79 of 123
You are midway through editing a deployment script on the 'feature-logging' branch when an urgent hotfix request comes in. Your changes are not ready to commit, but you must immediately switch to the 'main' branch to create a hotfix. Git refuses to switch because you have uncommitted local modifications. Which command lets you set aside your work-in-progress changes cleanly so you can switch branches and restore them later?
Reviewed for accuracy · Report an issueNext question