$ git clone -n https://gitee.com/mgb01105731/python-redis.git /var/lib/mock/dist-an23-build-330890-69493/root/chroot_tmpdir/scmroot/python-redis Cloning into '/var/lib/mock/dist-an23-build-330890-69493/root/chroot_tmpdir/scmroot/python-redis'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-redis * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b1e438 update to version 5.0.1