$ git clone -n https://src.fedoraproject.org/rpms/kwrited.git /var/lib/mock/f41-build-860418-168945/root/chroot_tmpdir/scmroot/kwrited Cloning into '/var/lib/mock/f41-build-860418-168945/root/chroot_tmpdir/scmroot/kwrited'... $ git fetch origin 0c169a00728653a0f8a22e0439af178bfd017dc4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kwrited * [new ref] 0c169a00728653a0f8a22e0439af178bfd017dc4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0c169a0 6.2.2