$ git clone -n https://gitee.com/src-anolis-os/firefox.git /var/lib/mock/dist-an8_5-build-73759-38789/root/chroot_tmpdir/scmroot/firefox Cloning into '/var/lib/mock/dist-an8_5-build-73759-38789/root/chroot_tmpdir/scmroot/firefox'... $ git reset --hard origin/a8 Filtering content: 40% (2/5), 6.51 MiB | 10.56 MiB/s Filtering content: 40% (2/5), 47.16 MiB | 25.83 MiB/s Filtering content: 60% (3/5), 47.16 MiB | 25.83 MiB/s Filtering content: 60% (3/5), 125.81 MiB | 31.32 MiB/s Filtering content: 80% (4/5), 125.81 MiB | 31.32 MiB/s Filtering content: 80% (4/5), 495.17 MiB | 20.76 MiB/s Filtering content: 100% (5/5), 495.17 MiB | 20.76 MiB/s Filtering content: 100% (5/5), 495.17 MiB | 19.55 MiB/s, done. HEAD is now at 6a7b722 rebrand: add firefox-anolis-default-prefs.js $ /bin/sh -c if [ -f download ];then wget $(cat download);fi