$ git clone -n http://8.131.229.236/anolis-os/re2c /var/lib/mock/dist-el8-build-8976-1470/root/chroot_tmpdir/scmroot/re2c Cloning into '/var/lib/mock/dist-el8-build-8976-1470/root/chroot_tmpdir/scmroot/re2c'... $ git reset --hard origin/a8 HEAD is now at 0a2540c import re2c-0.14.3-2.el8.src.rpm