$ git clone -n https://gitee.com/mgb01105731/python-ldap.git /var/lib/mock/dist-an23-build-503968-74854/root/chroot_tmpdir/scmroot/python-ldap Cloning into '/var/lib/mock/dist-an23-build-503968-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 954fe2f Init upstream from 3.4.5