我想要git列出所有标签连同完整的注释或提交消息。类似这样的事情很接近:
git tag -n5
这完全是我想要的,除了它只会显示标签消息的前5行。
我想我可以用一个很大的数。这里最大的数是多少?每台电脑都一样吗?
UPDATE: I have had much time to think about this, and now I think I don't necessarily want to show the entirety of each message if some of them are extraordinarily long. I didn't really have any particular need that required me to see massive messages (other than my own propensity to be long winded in everything I write, including tag messages). I just didn't like the idea that it was not necessarily going to show me the whole message, as that made me feel like it was hiding information from me. But too much information can also be a bad thing.