My context is the following:
- I want to do some operations on Git, that are only possible on a local repository.
- I don't care about the content of history, even the current content. Only the metadata (commits, authors, dates, ...) are from interest.
So I would like to have a local Git repository that contains the least amount of data, to allow operations like:
- Do a branch, and push it.
- Do a tag, and push it.
Is something like that possible at all? I know already what a bare repository is (it gives you all commits including the file data), and I have read about git shallow clone, but both give me with the commits all data.