I've checked several answers, but none seem to hit what I am looking at (or otherwise don't quite make sense to me).
I am working on a project that follows, say, the Wordpress model of:
root/
root/core/
root/core/stuff
root/plugins
root/plugins/1
root/plugins/2
The entire core is a repo, and plugins 1, 2, etc... are all separate repos by many different contributors.
Submodules seems to be complixifying the issue - when all I want is to be able to
A) make changes / push / pull core
and
B) make changes / push / pull plugin(s)
in no linked manner (eg, I don't give a flip what state the plugin is in when I make a commit to the core. I would just rather assume the plugins don't exist while working on core.)
Wouldn't simply using .gitignore to ignore the entire /plugins/ directory be the most straight-forward?
Similar questions:
Use gitignore to nest repositories.
Do you ignore a git submodule in your .gitignore or commit it to your repo?