$ git clone -n https://gitee.com/fundawang/golang.git /var/lib/mock/dist-an23-build-292220-65101/root/chroot_tmpdir/scmroot/golang Cloning into '/var/lib/mock/dist-an23-build-292220-65101/root/chroot_tmpdir/scmroot/golang'... $ git fetch origin 784fbaa509a49d3f4f1d8d7d63df0ac4ec893e38:KOJI_FETCH_HEAD From https://gitee.com/fundawang/golang * [new ref] 784fbaa509a49d3f4f1d8d7d63df0ac4ec893e38 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 784fbaa 1.20.7