$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dotconf.git /var/lib/mock/dist-an7-build-31066-15679/root/chroot_tmpdir/scmroot/dotconf Cloning into '/var/lib/mock/dist-an7-build-31066-15679/root/chroot_tmpdir/scmroot/dotconf'... $ git reset --hard origin/a7 HEAD is now at 52ab8de import dotconf-1.3-8.el7.src.rpm