$ whoami root $ git clone -n http://8.131.229.236/anolis-os/fwupdate /var/lib/mock/dist-el8-build-5777-38/root/chroot_tmpdir/scmroot/fwupdate Cloning into '/var/lib/mock/dist-el8-build-5777-38/root/chroot_tmpdir/scmroot/fwupdate'... $ git reset --hard origin/a8 HEAD is now at 82088f8 import fwupdate-11-3.el8.src.rpm