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