$ git clone -n https://gitee.com/src-opencloudos-rpms/fido-device-onboard /var/lib/mock/dist-oc8-build-20499-5123/root/chroot_tmpdir/scmroot/fido-device-onboard Cloning into '/var/lib/mock/dist-oc8-build-20499-5123/root/chroot_tmpdir/scmroot/fido-device-onboard'... $ git reset --hard origin/oc8 HEAD is now at b6d5e93 import fido-device-onboard-0.4.5-1.oc8