$ git clone -n https://gitee.com/src-anolis-os/foomatic.git /var/lib/mock/dist-an7-build-62825-34902/root/chroot_tmpdir/scmroot/foomatic Cloning into '/var/lib/mock/dist-an7-build-62825-34902/root/chroot_tmpdir/scmroot/foomatic'... $ git reset --hard origin/a7 HEAD is now at a07abd8 !1 update version to errata Merge pull request !1 from xzyang/a7