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