$ git clone -n https://gitee.com/src-anolis-sig/go-lib.git /var/lib/mock/dist-an8-dde-build-64817-36781/root/chroot_tmpdir/scmroot/go-lib Cloning into '/var/lib/mock/dist-an8-dde-build-64817-36781/root/chroot_tmpdir/scmroot/go-lib'... $ git reset --hard origin/a8 HEAD is now at c756ead update for anolis 8.4