Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep a branch per tag/version #396

Open
kesar opened this issue Jul 31, 2022 · 2 comments
Open

keep a branch per tag/version #396

kesar opened this issue Jul 31, 2022 · 2 comments

Comments

@kesar
Copy link

kesar commented Jul 31, 2022

useful for gitmodules w foundry

@cygaar
Copy link
Collaborator

cygaar commented Aug 5, 2022

Good suggestion, I'm a bit surprised gitsubmodules don't support tags yet, but I'll put this on my todo list

@wiasliaw
Copy link

wiasliaw commented Sep 8, 2022

Foundry supports using tag, so doesnt need a branch per tag/version.

Example:

$ forge install OpenZeppelin/[email protected]  --no-commit

.gitmodules doesn't show the tag info, but git submodule status does.

$ git submodule status

 82e6f5376c15341629ca23098e0b32d303f44f02 lib/forge-std (v0.1.0-83-g82e6f53)
+8e0296096449d9b1cd7c5631e917330635244c37 lib/openzeppelin-contracts (v3.4.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants