$ git clone -n https://gitee.com/src-opencloudos-rpms/fapolicyd.git /var/lib/mock/dist-oc8-build-34836-11219/root/chroot_tmpdir/scmroot/fapolicyd Cloning into '/var/lib/mock/dist-oc8-build-34836-11219/root/chroot_tmpdir/scmroot/fapolicyd'... $ git reset --hard origin/oc8 HEAD is now at aa98edf import fapolicyd-1.1.3-8.oc8.1