$ git clone -n https://gitee.com/opencloudos-stream/gpaw.git /var/lib/mock/dist-oc9-epol-build-92186-59292/root/chroot_tmpdir/scmroot/gpaw Cloning into '/var/lib/mock/dist-oc9-epol-build-92186-59292/root/chroot_tmpdir/scmroot/gpaw'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/gpaw * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6d8e759 update