$ git clone -n https://gitee.com/guost123/man-db.git /var/lib/mock/dist-an23-build-443388-73188/root/chroot_tmpdir/scmroot/man-db Cloning into '/var/lib/mock/dist-an23-build-443388-73188/root/chroot_tmpdir/scmroot/man-db'... $ git fetch origin 89f6fb14098c1a84641826e7ec2ea95e33f7ddb4:KOJI_FETCH_HEAD From https://gitee.com/guost123/man-db * [new ref] 89f6fb14098c1a84641826e7ec2ea95e33f7ddb4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 89f6fb1 fix build error on riscv64