$ git clone -n https://gitee.com/src-anolis-os/eog.git /var/lib/mock/dist-an23-build-231891-62555/root/chroot_tmpdir/scmroot/eog Cloning into '/var/lib/mock/dist-an23-build-231891-62555/root/chroot_tmpdir/scmroot/eog'... $ git reset --hard origin/a23 HEAD is now at 9c3cfa1 Init package from upstream