$ git clone -n https://gitee.com/src-anolis-test/firefox.git /var/lib/mock/dist-an7-updates-build-91534-44210/root/chroot_tmpdir/scmroot/firefox Cloning into '/var/lib/mock/dist-an7-updates-build-91534-44210/root/chroot_tmpdir/scmroot/firefox'... $ git reset --hard a634e2bda4ff565f7a5be83bd513e925197da436 HEAD is now at a634e2b import firefox-91.9.1-1.el7_9.src.rpm