P
P
Pragma Games2021-09-29 22:24:21
git
Pragma Games, 2021-09-29 22:24:21

How to switch to the desired commit?

The bottom line is: I made several commits without a branch, only Head hangs on the last one. After that, I rolled back a couple of commits back and made another commit. Is it possible to access those commits ? Or did they get lost? Or still stored in some hashes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
gazievDima, 2021-10-07
@gazievDima

Request a list of all commits and go to the right one - it's Googled.
If you used git revert, then yes, your commits are still there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question