$ git clone -n https://gitee.com/src-opencloudos-rpms/python-pillow.git /var/lib/mock/dist-oc8-build-81707-55779/root/chroot_tmpdir/scmroot/python-pillow Cloning into '/var/lib/mock/dist-oc8-build-81707-55779/root/chroot_tmpdir/scmroot/python-pillow'... $ git fetch origin 8ab0d0d216852339746b2270b913a051ead509b8:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/python-pillow * [new ref] 8ab0d0d216852339746b2270b913a051ead509b8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8ab0d0d import python-pillow-5.1.1-21.tl3