$ whoami root $ git clone -n http://8.131.229.236/anolis-os/libglvnd /var/lib/mock/dist-el8-build-5386-34/root/chroot_tmpdir/scmroot/libglvnd Cloning into '/var/lib/mock/dist-el8-build-5386-34/root/chroot_tmpdir/scmroot/libglvnd'... $ git reset --hard origin/a8 HEAD is now at 5cb0ecb import libglvnd-1.2.0-6.el8.src.rpm