$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/geocode-glib.git /var/lib/mock/dist-an8.4-build-20072-8817/root/chroot_tmpdir/scmroot/geocode-glib Cloning into '/var/lib/mock/dist-an8.4-build-20072-8817/root/chroot_tmpdir/scmroot/geocode-glib'... $ git reset --hard origin/a8 HEAD is now at 82d67f0 update to geocode-glib-3.26.0-3.el8.src.rpm