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