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