Simple Git Externals
Create config file, externals unfreeze, commit to external, externals freeze, commit to parent project. Check out the blog entry or GitHub.
Create config file, externals unfreeze, commit to external, externals freeze, commit to parent project. Check out the blog entry or GitHub.
Comments
Very interesting, and promising. Two things:
If you forget to unfreeze before you make changes, then any changes you have made are blown away when you do unfreeze. This is rather unfriendly – can you look for modified files before unfreezing, and abort if there are changes?
If you’ve made one or more commits to the external, then you have to commit to the parent project as well, which requires both staging the files and writing a commit message. Is there any way to pull that information from the external – some sort of squashed commit that prepopulates the index and prepares the commit message?
Thanks for the suggestions.
Post a comment