$ git clone -n https://src.fedoraproject.org/rpms/keysmith.git /var/lib/mock/f40-build-2387021-60496/root/chroot_tmpdir/scmroot/keysmith Cloning into '/var/lib/mock/f40-build-2387021-60496/root/chroot_tmpdir/scmroot/keysmith'... $ git fetch origin 479398349d5f4e1096cff46b41665154e29091f6:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/keysmith * [new ref] 479398349d5f4e1096cff46b41665154e29091f6 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4793983 24.01.95