$ git clone -n https://gitee.com/ocs-commit/hwdata.git /var/lib/mock/dist-ocs23-base-build-326349-34936/root/chroot_tmpdir/scmroot/hwdata Cloning into '/var/lib/mock/dist-ocs23-base-build-326349-34936/root/chroot_tmpdir/scmroot/hwdata'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/ocs-commit/hwdata * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 49a0a5c - [Type] bugfix - [DESC] Apply patches from rpm-tracker - [Bug Fix] 0714efb6ccc8ae20685f929f789b84e69821803d.patch: Fix configure to honor --prefix