$ git clone -n https://gitee.com/src-anolis-os/librhsm.git /var/lib/mock/dist-an7-extras-build-63311-35360/root/chroot_tmpdir/scmroot/librhsm Cloning into '/var/lib/mock/dist-an7-extras-build-63311-35360/root/chroot_tmpdir/scmroot/librhsm'... $ git reset --hard origin/a7-extras HEAD is now at c7957bf !1 新增a7-extras Merge pull request !1 from qingxiyingyue/a7-extras