I checkout to previous commit and then accidentally added and commit on that commit, now when i checked out to dev branch my work vanished, how can i retrieve my work
the commit on which i checked out displaying as ((741a...) and then i git add . and git commit the commit changes ((5b78c...)