$ git clone -n https://gitee.com/src-opencloudos-rpms/frr.git /var/lib/mock/dist-oc8-build-38159-12282/root/chroot_tmpdir/scmroot/frr Cloning into '/var/lib/mock/dist-oc8-build-38159-12282/root/chroot_tmpdir/scmroot/frr'... $ git reset --hard origin/oc8 HEAD is now at 784809f import frr-7.5.1-7.tl3