$ git clone -n http://8.131.229.236/anolis-os/ninja-build /var/lib/mock/dist-el8-build-8607-1310/root/chroot_tmpdir/scmroot/ninja-build Cloning into '/var/lib/mock/dist-el8-build-8607-1310/root/chroot_tmpdir/scmroot/ninja-build'... $ git reset --hard origin/a8 HEAD is now at a442f3b import ninja-build-1.8.2-1.el8.src.rpm