If I have a main project that is version controlled.
I then add a remote for a third party plugin
git remote add myplugin <url>
I can then do git pull myplugin master
and it just pulls in the changes from that remote.
Now lets say my project is setup as:
/
/index.php
/whatever
and the remote is setup as
/
/whatever.php
when I pull in the remote I end up with
/index.php
/whatever
/myplugin
/myplugin/whatever.php
this is good.
What I am wondering is, If I make changes to myplugin,
If I issue git push myplugin master
what is pushed?
Is it going to only push changes in myplugin? or does a remote act as a second repository and will commit the entire repository?