$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/fwupdate.git /var/lib/mock/dist-an7-updates-build-42825-21665/root/chroot_tmpdir/scmroot/fwupdate Cloning into '/var/lib/mock/dist-an7-updates-build-42825-21665/root/chroot_tmpdir/scmroot/fwupdate'... $ git reset --hard origin/a7 HEAD is now at 6c85558 update to fwupdate-12-6.el7.centos.src.rpm