$ git clone -n https://src.fedoraproject.org/rpms/qwt5-qt5.git /var/lib/mock/f37-build-665714-74243/root/chroot_tmpdir/scmroot/qwt5-qt5 Cloning into '/var/lib/mock/f37-build-665714-74243/root/chroot_tmpdir/scmroot/qwt5-qt5'... $ git reset --hard e1feb81df4aa9f8870c1d899a22e4a024e410e2c HEAD is now at e1feb81 Really remove the path