$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/dvd_plusrw-tools.git /var/lib/mock/dist-an7-build-34123-16169/root/chroot_tmpdir/scmroot/dvd_plusrw-tools Cloning into '/var/lib/mock/dist-an7-build-34123-16169/root/chroot_tmpdir/scmroot/dvd_plusrw-tools'... $ git reset --hard origin/a7 HEAD is now at 4ca33a4 import dvd+rw-tools-7.1-15.el7.src.rpm