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