From: Son Luong Ngoc Date: Mon, 20 Jul 2020 11:44:35 GMT Subject: Pushing tag from a partial clone Message-ID: <0DEFACA7-9D30-4DB1-9FDF-3E63945FAAB3@gmail.com> Hi folks, At $day_job, we are trying to push tags to a repo from a partial clone copy. However it seems like this push would requires the partial clone copy to download more objects? Is this intended? Reproduce: mkdir repo && cd repo git init git remote add origin git@domain.com:path/repo.git git fetch --filter=tree:0 --no-tags --prune origin git sparse-checkout init --cone git checkout --force git tag -a sluongng-test -m "Test push from partial clone" git push HEAD:refs/tags/sluongng-test Ideally we would like to be able to push tag from a shallow + partial clone repo without having to download extra objects if possible. We would like to keep the required repo to the absolute minimum. git fetch --depth 1 --filter=tree:0 --no-tags --prune origin Creating and pushing tags should not require local repo to have trees/blobs in it? Git version: 2.27.0 Cheers, Son Luong.