$ git clone -n https://gitee.com/src-opencloudos-rpms/fwupd /var/lib/mock/dist-oc8-build-31849-9257/root/chroot_tmpdir/scmroot/fwupd Cloning into '/var/lib/mock/dist-oc8-build-31849-9257/root/chroot_tmpdir/scmroot/fwupd'... $ git reset --hard origin/oc8 HEAD is now at 54ae2fa import fwupd-1.7.8-1.oc8