$ git clone -n https://gitee.com/src-anolis-os/nginx.git /var/lib/mock/dist-an8.9-build-354598-70802/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an8.9-build-354598-70802/root/chroot_tmpdir/scmroot/nginx'... $ git reset --hard 6eb561b20b3619fe2b7d2f8d3f90efeac6a40ced HEAD is now at 6eb561b readme: add desc for branch