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