$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/trace-cmd.git /var/lib/mock/dist-an7-build-30524-15516/root/chroot_tmpdir/scmroot/trace-cmd Cloning into '/var/lib/mock/dist-an7-build-30524-15516/root/chroot_tmpdir/scmroot/trace-cmd'... $ git reset --hard origin/a7 HEAD is now at f6ca25f import trace-cmd-2.7.0-3.el7.src.rpm