$ git clone -n https://src.fedoraproject.org/rpms/kwrited.git /var/lib/mock/f40-build-790503-136598/root/chroot_tmpdir/scmroot/kwrited Cloning into '/var/lib/mock/f40-build-790503-136598/root/chroot_tmpdir/scmroot/kwrited'... $ git fetch origin 32bab10f03ac65fe5f87d6cf749849cc3d059b16:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kwrited * [new ref] 32bab10f03ac65fe5f87d6cf749849cc3d059b16 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 32bab10 6.0.2