$ git clone -n https://gitee.com/zhaomingy/anolis-release.git /var/lib/mock/dist-an8.6-build-197547-60841/root/chroot_tmpdir/scmroot/anolis-release Cloning into '/var/lib/mock/dist-an8.6-build-197547-60841/root/chroot_tmpdir/scmroot/anolis-release'... $ git reset --hard origin/a8 HEAD is now at 8c8ba20 rebrand to Beyondsoft OS