$ git clone -n https://gitee.com/yan1hcdc/jfsutils.git /var/lib/mock/dist-an23-build-479371-74220/root/chroot_tmpdir/scmroot/jfsutils Cloning into '/var/lib/mock/dist-an23-build-479371-74220/root/chroot_tmpdir/scmroot/jfsutils'... $ git fetch origin 3527a478abbbac137813d98dc3bf5bf1a489b9cb:KOJI_FETCH_HEAD From https://gitee.com/yan1hcdc/jfsutils * [new ref] 3527a478abbbac137813d98dc3bf5bf1a489b9cb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3527a47 fix building against gcc 10