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