$ git clone -n http://8.131.229.236/anolis-os/libdnf /var/lib/mock/dist-el8-updates-build-17028-2936/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-el8-updates-build-17028-2936/root/chroot_tmpdir/scmroot/libdnf'... $ git reset --hard origin/a8 HEAD is now at 122315b update to libdnf-0.39.1-6.el8_2