Home>

Git beginner.
Until now, when there was something I didn't understand, such as conflict, I figured it out somehow.
There is no consideration this time.
What I want to do
Return only the local source to a specific commit state without erasing the commit history
I would like to confirm.
For example ...

1111 commit1
2222 commit2
3333 commit3
4444 commit4

As mentioned above, assuming there was a commit history
I want to source in 4444 state.
I do not want to erase 1111 ~ 3333.

What should I do?

git