$ git clone -n https://gitee.com/src-anolis-dde/kf5-kitemviews.git /var/lib/mock/dist-an23-dde-build-295751-65790/root/chroot_tmpdir/scmroot/kf5-kitemviews Cloning into '/var/lib/mock/dist-an23-dde-build-295751-65790/root/chroot_tmpdir/scmroot/kf5-kitemviews'... $ git reset --hard origin/a23 HEAD is now at 183dd1a init pkg $ git lfs pull