$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libdbi-drivers.git /var/lib/mock/dist-an7-build-31710-15791/root/chroot_tmpdir/scmroot/libdbi-drivers Cloning into '/var/lib/mock/dist-an7-build-31710-15791/root/chroot_tmpdir/scmroot/libdbi-drivers'... $ git reset --hard origin/a7 HEAD is now at dcefadd import libdbi-drivers-0.8.3-16.el7.src.rpm