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