Hello community, I have been squashing my commits in TRUNK-4742 and accidentally squashed them into another branch and when i run git log its shows that the HEAD & commits are in Michal Fotyga (TRUNK-5474)! Any one who can help me get back the HEAD and commits to my branch
Have you tried this command "git reset HEAD <file>…" to undo the changes?
i have tried it out but its showing me that the commit on TRUNK-4747 is under a different person https://pastebin.com/zqr4VyvR
Sorry you used a different command. Its "git reset HEAD <file>
thanks for the correction
@gcliff , hope this helps
thanks Nathan