$ git clone -n https://gitee.com/src-anolis-os/go-compilers.git /var/lib/mock/dist-an23-build-526776-79263/root/chroot_tmpdir/scmroot/go-compilers Cloning into '/var/lib/mock/dist-an23-build-526776-79263/root/chroot_tmpdir/scmroot/go-compilers'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/go-compilers * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc76e23 modify spec