$ git clone -n https://gitee.com/opencloudos-stream/byacc.git /var/lib/mock/dist-ocs23-build-32312-1378/root/chroot_tmpdir/scmroot/byacc Cloning into '/var/lib/mock/dist-ocs23-build-32312-1378/root/chroot_tmpdir/scmroot/byacc'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/byacc * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 888a78d !1 update to 2.0.20230521 Merge pull request !1 from abushwang/master