$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/pcs.git /var/lib/mock/dist-an7-updates-build-43219-21680/root/chroot_tmpdir/scmroot/pcs Cloning into '/var/lib/mock/dist-an7-updates-build-43219-21680/root/chroot_tmpdir/scmroot/pcs'... $ git reset --hard origin/a7 HEAD is now at 615a00a update to pcs-0.9.169-3.el7.centos.src.rpm