$ git clone -n https://src.fedoraproject.org/rpms/golang-oras-1.git /var/lib/mock/f38-build-side-42-init-devel-1048007-29762/root/chroot_tmpdir/scmroot/golang-oras-1 Cloning into '/var/lib/mock/f38-build-side-42-init-devel-1048007-29762/root/chroot_tmpdir/scmroot/golang-oras-1'... $ git fetch origin ec0be038470fafb40ed185b052c73218960650fc:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-oras-1 * [new ref] ec0be038470fafb40ed185b052c73218960650fc -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ec0be03 Initial import; Fixes: RHBZ#2172235