$ git clone -n https://gitee.com/src-anolis-nde/nde-indexhtml.git /var/lib/mock/dist-an8.9-nde-build-351538-70918/root/chroot_tmpdir/scmroot/nde-indexhtml Cloning into '/var/lib/mock/dist-an8.9-nde-build-351538-70918/root/chroot_tmpdir/scmroot/nde-indexhtml'... $ git reset --hard origin/a8 HEAD is now at 7d7c968 create branch