$ git clone -n https://gitee.com/src-anolis-os/nginx /var/lib/mock/module-nginx-1.20-8050020220214092035-bc14a129-build-73781-38860/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/module-nginx-1.20-8050020220214092035-bc14a129-build-73781-38860/root/chroot_tmpdir/scmroot/nginx'... $ git reset --hard add361f676bb0fa139405cb83da82cce091c8f5b HEAD is now at add361f remove extra spaces