$ git clone -n https://gitee.com/fundawang/percona-toolkit.git /var/lib/mock/dist-an23-build-286978-64835/root/chroot_tmpdir/scmroot/percona-toolkit Cloning into '/var/lib/mock/dist-an23-build-286978-64835/root/chroot_tmpdir/scmroot/percona-toolkit'... $ git fetch origin f7bba0ee28682c34148d6ac781ac1d374b537300:KOJI_FETCH_HEAD From https://gitee.com/fundawang/percona-toolkit * [new ref] f7bba0ee28682c34148d6ac781ac1d374b537300 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f7bba0e update vendor