$ git clone -n https://src.fedoraproject.org/rpms/toppler.git /var/lib/mock/f40-build-762706-122101/root/chroot_tmpdir/scmroot/toppler Cloning into '/var/lib/mock/f40-build-762706-122101/root/chroot_tmpdir/scmroot/toppler'... $ git fetch origin 3065e2ccfa3c7efedfee5397e09a38898fd9f4d0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/toppler * [new ref] 3065e2ccfa3c7efedfee5397e09a38898fd9f4d0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3065e2c Add desktop file