$ git clone -n https://gitee.com/mgb01105731/python-ldap.git /var/lib/mock/dist-an23-build-503810-74854/root/chroot_tmpdir/scmroot/python-ldap Cloning into '/var/lib/mock/dist-an23-build-503810-74854/root/chroot_tmpdir/scmroot/python-ldap'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-ldap * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c6c1fe2 Init upstream from 3.4.5