$ git clone -n https://gitee.com/src-anolis-os/glassfish-el-api.git /var/lib/mock/dist-an7-build-61002-33842/root/chroot_tmpdir/scmroot/glassfish-el-api 正克隆到 '/var/lib/mock/dist-an7-build-61002-33842/root/chroot_tmpdir/scmroot/glassfish-el-api'... $ git reset --hard origin/a7 HEAD 现在位于 2cfabe7 import glassfish-el-api-2.2.4-5.el7.src.rpm