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