$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/automoc.git /var/lib/mock/dist-an7-build-27223-15145/root/chroot_tmpdir/scmroot/automoc Cloning into '/var/lib/mock/dist-an7-build-27223-15145/root/chroot_tmpdir/scmroot/automoc'... $ git reset --hard origin/a7 HEAD is now at fa8714b import automoc-1.0-0.20.rc3.el7.src.rpm