in Git by
Q:
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

▼ Show 1 Answer

0 votes
by

Correct answer is

git checkout commitSHA

GIT
Learn More with Madanswer

Related questions

0 votes
asked Aug 16, 2020 in Git by RShastri
...