$ git clone -n https://gitee.com/weiwhu/cri-rm.git /var/lib/mock/dist-an8.6-build-180103-59125/root/chroot_tmpdir/scmroot/cri-rm Cloning into '/var/lib/mock/dist-an8.6-build-180103-59125/root/chroot_tmpdir/scmroot/cri-rm'... $ git reset --hard 0e432d0ea7b2628ef41fa8637f834bae52c04182 HEAD is now at 0e432d0 add source code and spec file