$ git clone -n https://src.fedoraproject.org/rpms/cryptlib.git /var/lib/mock/f33-build-265939-51407/root/chroot_tmpdir/scmroot/cryptlib Cloning into '/var/lib/mock/f33-build-265939-51407/root/chroot_tmpdir/scmroot/cryptlib'... $ git reset --hard d3faa54abe4287daf3045eb37dcca6d0263722a0 HEAD is now at d3faa54 Remove git tracked files from sources