$ git clone -n https://gitee.com/wency_cn/seabios.git /var/lib/mock/dist-an23-build-503660-74854/root/chroot_tmpdir/scmroot/seabios Cloning into '/var/lib/mock/dist-an23-build-503660-74854/root/chroot_tmpdir/scmroot/seabios'... $ git fetch origin 71ee077c9f5c204986af2543c0996aaadd62d3de:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/seabios * [new ref] 71ee077c9f5c204986af2543c0996aaadd62d3de -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 71ee077 Update code from upstream