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