$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libkipi.git /var/lib/mock/dist-an7-build-31850-15815/root/chroot_tmpdir/scmroot/libkipi Cloning into '/var/lib/mock/dist-an7-build-31850-15815/root/chroot_tmpdir/scmroot/libkipi'... $ git reset --hard origin/a7 HEAD is now at bc9c92e import libkipi-4.10.5-3.el7.src.rpm