$ git clone -n https://gitee.com/opencloudos-stream/ipset.git /var/lib/mock/dist-ocs23-build-34357-1629/root/chroot_tmpdir/scmroot/ipset Cloning into '/var/lib/mock/dist-ocs23-build-34357-1629/root/chroot_tmpdir/scmroot/ipset'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ipset * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 371cf4b !1 update to 7.17 Merge pull request !1 from 冯玮耀/master