$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/conntrack-tools.git /var/lib/mock/dist-an7-build-30987-15669/root/chroot_tmpdir/scmroot/conntrack-tools Cloning into '/var/lib/mock/dist-an7-build-30987-15669/root/chroot_tmpdir/scmroot/conntrack-tools'... $ git reset --hard origin/a7 HEAD is now at 09378e3 update to conntrack-tools-1.4.4-5.el7_7.2.src.rpm