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