$ git clone -n https://gitee.com/wenyuzifang/python-ply.git /var/lib/mock/dist-an23-build-486426-74383/root/chroot_tmpdir/scmroot/python-ply Cloning into '/var/lib/mock/dist-an23-build-486426-74383/root/chroot_tmpdir/scmroot/python-ply'... $ git fetch origin d240e7cb4249752706b4c279784611e97009efe2:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/python-ply * [new ref] d240e7cb4249752706b4c279784611e97009efe2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d240e7c Update code from upstream