$ git clone -n https://gitee.com/Weisson/gpm.git /var/lib/mock/dist-an23-build-490624-74493/root/chroot_tmpdir/scmroot/gpm Cloning into '/var/lib/mock/dist-an23-build-490624-74493/root/chroot_tmpdir/scmroot/gpm'... $ git fetch origin 47694d0340b4050d6ffa046aaa2cf41e68f0424e:KOJI_FETCH_HEAD From https://gitee.com/Weisson/gpm * [new ref] 47694d0340b4050d6ffa046aaa2cf41e68f0424e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47694d0 fix the source error