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