$ git clone -n https://gitee.com/opencloudos-stream/ptl.git /var/lib/mock/dist-ocs23-rebuild-test-1-build-283826-27413/root/chroot_tmpdir/scmroot/ptl Cloning into '/var/lib/mock/dist-ocs23-rebuild-test-1-build-283826-27413/root/chroot_tmpdir/scmroot/ptl'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/ptl * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at debd717 update