If you are using devel/git[-lite|-tiny] to update your ports tree, what is shown at the first output line ofHow do I know what branch I'm on and what should I do to switch to the latest one?
git reflog show
?For me, when I'm at commit e08b1d9071b6, the output is as below.
Note that I'm on main branch.
08b1d9071b6 (HEAD -> main, freebsd/main, freebsd/HEAD) HEAD@{0}: pull --ff-only: Fast-forward