$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/cups-filters.git /var/lib/mock/dist-an8.4-build-19971-8777/root/chroot_tmpdir/scmroot/cups-filters Cloning into '/var/lib/mock/dist-an8.4-build-19971-8777/root/chroot_tmpdir/scmroot/cups-filters'... $ git reset --hard origin/a8 HEAD is now at d1917ec update to cups-filters-1.20.0-24.el8.src.rpm