$ git clone -n https://gitee.com/fundawang/gettext.git /var/lib/mock/dist-an23-build-312528-67129/root/chroot_tmpdir/scmroot/gettext Cloning into '/var/lib/mock/dist-an23-build-312528-67129/root/chroot_tmpdir/scmroot/gettext'... $ git fetch origin 745bd84abd2305d8f30871eb62053e6267efdc12:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gettext * [new ref] 745bd84abd2305d8f30871eb62053e6267efdc12 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 745bd84 try fix