4 ms·
How do I pull something like LLVM 14.0.0 by tag?
by CalChris 4y ago
How do I pull something like LLVM 14.0.0 by tag?
- abdusco 4y agogit clone -b $tag $repo_url
- AceJohnny2 4y agoCouple ways, for example on the github page [1] , click the "tags" link [2] above the file list, find the tag for release 14.0.0, which is llvmorg-14.0.0, and now you can do any commit operation with that name instead of a commit. If you have a checkout, you can find the tag name by doing a git tag -l *14* and looking through the output; I'm intentionally providing a very general glob because one may not know beforehand their exact tag name conventions. [1] https://github.com/llvm/llvm-project https://github.com/llvm/llvm-project [2] https://github.com/llvm/llvm-project/tags https://github.com/llvm/llvm-project/tags