$ git clone -n https://src.fedoraproject.org/rpms/ksirk.git /var/lib/mock/f33-build-244995-50747/root/chroot_tmpdir/scmroot/ksirk Cloning into '/var/lib/mock/f33-build-244995-50747/root/chroot_tmpdir/scmroot/ksirk'... $ git reset --hard 3cd2d819f92d6be3b6bdd8ac3686dd5cf13569a4 HEAD is now at 3cd2d81 update %%files