$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/apr.git /var/lib/mock/dist-an7-build-30924-15667/root/chroot_tmpdir/scmroot/apr Cloning into '/var/lib/mock/dist-an7-build-30924-15667/root/chroot_tmpdir/scmroot/apr'... $ git reset --hard origin/a7 HEAD is now at 514a427 import apr-1.4.8-5.el7.src.rpm