$ git clone -n https://gitee.com/ocs-upgrade/golang.git /var/lib/mock/dist-ocs23-build-212513-15360/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-ocs23-build-212513-15360/root/chroot_tmpdir/scmroot/golang'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-upgrade/golang * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f249637 Upgrade to version 1.22.5