$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/compat-glibc.git /var/lib/mock/dist-an7-build-30983-15669/root/chroot_tmpdir/scmroot/compat-glibc Cloning into '/var/lib/mock/dist-an7-build-30983-15669/root/chroot_tmpdir/scmroot/compat-glibc'... $ git reset --hard origin/a7 HEAD is now at c0eb9ae import compat-glibc-2.12-4.el7.src.rpm