I have an orphan branch (let's call it output) which contains the documents generated by templates stored on my main branch. I would like to checkout the commit on output that correspond to a specific commit on main.
I settled on using git commit --trailer 'Source: xxxxx'
when committing on output where xxxxx
is the corresponding commit on main.
Is it possible to checkout a commit on output knowing only the value of its trailer?