$ git clone -n https://gitee.com/src-anolis-os/gnome-logs.git /var/lib/mock/dist-an23-build-235361-62751/root/chroot_tmpdir/scmroot/gnome-logs Cloning into '/var/lib/mock/dist-an23-build-235361-62751/root/chroot_tmpdir/scmroot/gnome-logs'... $ git reset --hard origin/a23 HEAD is now at 4eca4dd Init package from upstream