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