$ git clone -n https://gitee.com/lizhao2025/fwupd.git /var/lib/mock/dist-an23-build-496268-74608/root/chroot_tmpdir/scmroot/fwupd Cloning into '/var/lib/mock/dist-an23-build-496268-74608/root/chroot_tmpdir/scmroot/fwupd'... $ git fetch origin b0e927e0c68e56a0e39655f36526f868ae3eb94a:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/fwupd * [new ref] b0e927e0c68e56a0e39655f36526f868ae3eb94a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b0e927e Update code from upstream