$ git clone -n https://gitee.com/fundawang/tongsuo3.git /var/lib/mock/dist-an23-build-353743-71027/root/chroot_tmpdir/scmroot/tongsuo3 Cloning into '/var/lib/mock/dist-an23-build-353743-71027/root/chroot_tmpdir/scmroot/tongsuo3'... $ git fetch origin c607a66859939f848ace293d0e7c2eb13cecf3b3:KOJI_FETCH_HEAD From https://gitee.com/fundawang/tongsuo3 * [new ref] c607a66859939f848ace293d0e7c2eb13cecf3b3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c607a66 8.4.0