$ git clone -n https://gitee.com/mgb01105731/python-flask.git /var/lib/mock/dist-an23-build-293136-65148/root/chroot_tmpdir/scmroot/python-flask Cloning into '/var/lib/mock/dist-an23-build-293136-65148/root/chroot_tmpdir/scmroot/python-flask'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-flask * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 160f014 init upstream from version 2.2.5