in Git by
How can you temporarily switch to a different commit?

(1)git reset commitSHA
(2)all the above options
(3)git commit commitSHA
(4)git checkout commitSHA

Answer:-(4)git checkout commitSHA

1 Answer

0 votes

Correct answer is

git checkout commitSHA

Related questions

0 votes
asked Aug 16, 2020 in Git by RShastri
+1 vote
asked Jul 25, 2019 in Git by SakshiSharma
+1 vote
asked Jul 26, 2019 in Git Slack Integration by sheetalkhandelwal