$ git clone -n https://gitee.com/src-anolis-os/google-guice.git /var/lib/mock/dist-an7-build-61108-33842/root/chroot_tmpdir/scmroot/google-guice Cloning into '/var/lib/mock/dist-an7-build-61108-33842/root/chroot_tmpdir/scmroot/google-guice'... $ git reset --hard origin/a7 HEAD is now at 5d3834e import google-guice-3.1.3-9.el7.src.rpm