$ git clone -n https://gitee.com/opencloudos-stream/golang-x-sys.git /var/lib/mock/dist-ocs23-epol9-build-228704-17575/root/chroot_tmpdir/scmroot/golang-x-sys Cloning into '/var/lib/mock/dist-ocs23-epol9-build-228704-17575/root/chroot_tmpdir/scmroot/golang-x-sys'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/golang-x-sys * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cf0dbfb update