$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/device-mapper-multipath.git /var/lib/mock/dist-an7-build-27521-15175/root/chroot_tmpdir/scmroot/device-mapper-multipath Cloning into '/var/lib/mock/dist-an7-build-27521-15175/root/chroot_tmpdir/scmroot/device-mapper-multipath'... $ git reset --hard origin/a7 HEAD is now at 98ad297 import device-mapper-multipath-0.4.9-127.el7.src.rpm