$ git clone -n https://gitee.com/src-opencloudos-rpms/firefox.git /var/lib/mock/dist-oc8-build-34927-11378/root/chroot_tmpdir/scmroot/firefox Cloning into '/var/lib/mock/dist-oc8-build-34927-11378/root/chroot_tmpdir/scmroot/firefox'... $ git reset --hard origin/oc8 HEAD is now at 9ae8f2e fix build