$ git clone -n https://gitee.com/ywyw22/libsmbios /var/lib/mock/dist-an23-build-189210-60731/root/chroot_tmpdir/scmroot/libsmbios Cloning into '/var/lib/mock/dist-an23-build-189210-60731/root/chroot_tmpdir/scmroot/libsmbios'... $ git fetch origin c020f623d4c29d62064345cc71d082c308c7bdc0:KOJI_FETCH_HEAD From https://gitee.com/ywyw22/libsmbios * [new ref] c020f623d4c29d62064345cc71d082c308c7bdc0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c020f62 optimise spec file