$ git clone -n https://gitee.com/mgb01105731/python-versioneer.git /var/lib/mock/dist-an23.3-build-428963-73027/root/chroot_tmpdir/scmroot/python-versioneer Cloning into '/var/lib/mock/dist-an23.3-build-428963-73027/root/chroot_tmpdir/scmroot/python-versioneer'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-versioneer * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 627efa4 Init upstream from 0.29