I couldn't find anything related here.
I wanted to use git to download the
1.35.1 tag but with
--depth=1. I think it is workth mentioning on Download from Git#Download a stable branch that (from what I found on google) this is the command:
git clone https://gerrit.wikimedia.org/r/mediawiki/core.git --branch 1.35.1 --depth=1 mediawiki
so instead of cloning a actual branch, we can use the tag.
How did I get to this you may ask? Well when first doing:
git clone https://gerrit.wikimedia.org/r/mediawiki/core.git --branch REL1_35 mediawiki --depth=1
git checkout 1.35.1
(as the page suggests) you wont get anywhere, because no tags where downloaded.
Am I missing something? Let me know please.