$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/pyodbc.git /var/lib/mock/dist-an8.4-build-20540-8940/root/chroot_tmpdir/scmroot/pyodbc Cloning into '/var/lib/mock/dist-an8.4-build-20540-8940/root/chroot_tmpdir/scmroot/pyodbc'... $ git reset --hard origin/a8 HEAD is now at bc5c324 import pyodbc-4.0.30-2.el8.src.rpm