$ git clone -n https://gitee.com/opencloudos-stream/sdparm.git /var/lib/mock/dist-oc9-epol-build-99589-60473/root/chroot_tmpdir/scmroot/sdparm Cloning into '/var/lib/mock/dist-oc9-epol-build-99589-60473/root/chroot_tmpdir/scmroot/sdparm'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/sdparm * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 823bcea package init