$ git clone -n https://gitee.com/wency_cn/ipxe.git /var/lib/mock/dist-an23-build-502261-74802/root/chroot_tmpdir/scmroot/ipxe Cloning into '/var/lib/mock/dist-an23-build-502261-74802/root/chroot_tmpdir/scmroot/ipxe'... $ git fetch origin 44486a1a35a4d125f53f29096367ddd1daeb386e:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/ipxe * [new ref] 44486a1a35a4d125f53f29096367ddd1daeb386e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 44486a1 Update code from upstream