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