$ git clone -n https://gitee.com/fundawang/percona-toolkit.git /var/lib/mock/dist-an23-build-313564-67129/root/chroot_tmpdir/scmroot/percona-toolkit Cloning into '/var/lib/mock/dist-an23-build-313564-67129/root/chroot_tmpdir/scmroot/percona-toolkit'... $ git fetch origin 75ee865d675e477ff5b38c212f56c5d4aa24a650:KOJI_FETCH_HEAD From https://gitee.com/fundawang/percona-toolkit * [new ref] 75ee865d675e477ff5b38c212f56c5d4aa24a650 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 75ee865 3.5.5