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