$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hwdata.git /var/lib/mock/dist-an7-build-28215-15238/root/chroot_tmpdir/scmroot/hwdata Cloning into '/var/lib/mock/dist-an7-build-28215-15238/root/chroot_tmpdir/scmroot/hwdata'... $ git reset --hard origin/a7 HEAD is now at 3025ea7 import hwdata-0.252-9.3.el7.src.rpm