$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libedit.git /var/lib/mock/dist-an7-build-28696-15293/root/chroot_tmpdir/scmroot/libedit Cloning into '/var/lib/mock/dist-an7-build-28696-15293/root/chroot_tmpdir/scmroot/libedit'... $ git reset --hard origin/a7 HEAD is now at 83c37b0 import libedit-3.0-12.20121213cvs.el7.src.rpm