$ git clone -n https://gitee.com/weiwhu/cri-rm.git /var/lib/mock/dist-an8.6-build-196686-60841/root/chroot_tmpdir/scmroot/cri-rm Cloning into '/var/lib/mock/dist-an8.6-build-196686-60841/root/chroot_tmpdir/scmroot/cri-rm'... $ git reset --hard 285df5c18338f1851afdc8f64a6f81ea46c3a19f HEAD is now at 285df5c modify the spec file