$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/LibRaw.git /var/lib/mock/dist-an7-updates-build-42564-21651/root/chroot_tmpdir/scmroot/LibRaw Cloning into '/var/lib/mock/dist-an7-updates-build-42564-21651/root/chroot_tmpdir/scmroot/LibRaw'... $ git reset --hard origin/a7 HEAD is now at 828bfc3 update to LibRaw-0.19.4-1.el7.src.rpm