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