$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dmidecode.git /var/lib/mock/dist-an8.4-build-19350-8416/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/dist-an8.4-build-19350-8416/root/chroot_tmpdir/scmroot/dmidecode'... $ git reset --hard origin/a8 HEAD is now at 2879a8e update to dmidecode-3.2-8.el8.src.rpm