$ git clone -n https://gitee.com/src-anolis-os/pki-core.git /var/lib/mock/dist-an7-updates-build-64876-36815/root/chroot_tmpdir/scmroot/pki-core Cloning into '/var/lib/mock/dist-an7-updates-build-64876-36815/root/chroot_tmpdir/scmroot/pki-core'... $ git reset --hard origin/a7 HEAD is now at 18fb6de !2 update version to errata Merge pull request !2 from xzyang/a7