Git rookie here. I squashed several commits into one commit and push the single commit to a remote repository already. Now I want to get some of squashed commits back. Is it possible?
See git reflog
. If you are on the same machine you'll see something like
You can get back your commits back using git cherry-pick
or see them using git show
.
For more details visit: this link