I checked the old hash (commit) and worked on it, checking fun and ignoring warnings that I was not working in the branch. Then I switched to the branch and realized that I did not have the opportunity to return to my orphan checks (fortunately, I still opened the terminal window, so I checked it and branched it).
How can I get GIT to tell me the names of commits that DO NOT belong to the branch? Or just all the commits if this is not possible ...
git branch
Dan rosenstark
source share