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