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