$ git clone -n https://gitee.com/src-opencloudos-rpms/libgpiod.git /var/lib/mock/dist-oc9-build-46778-14592/root/chroot_tmpdir/scmroot/libgpiod Cloning into '/var/lib/mock/dist-oc9-build-46778-14592/root/chroot_tmpdir/scmroot/libgpiod'... $ git fetch origin oc9:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/libgpiod * [new branch] oc9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a298fc8 import libgpiod-1.6.3-3.tl4