$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/copy-jdk-configs.git /var/lib/mock/dist-an7-build-27444-15164/root/chroot_tmpdir/scmroot/copy-jdk-configs Cloning into '/var/lib/mock/dist-an7-build-27444-15164/root/chroot_tmpdir/scmroot/copy-jdk-configs'... $ git reset --hard origin/a7 HEAD is now at a3dc086 import copy-jdk-configs-3.3-10.el7_5.src.rpm