$ git clone -n https://src.fedoraproject.org/rpms/kshisen.git /var/lib/mock/f40-build-803122-144180/root/chroot_tmpdir/scmroot/kshisen Cloning into '/var/lib/mock/f40-build-803122-144180/root/chroot_tmpdir/scmroot/kshisen'... $ git fetch origin 55ddc26bcc9b76b7c3cac4acb4bf5c5f50f95ef8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kshisen * [new ref] 55ddc26bcc9b76b7c3cac4acb4bf5c5f50f95ef8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 55ddc26 24.02.1