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