I was wondering if anyone could share any knowledge about setting up GIT Projects with Cocos2d-JS, it seems completely backwards to commit the full framework every time I create a new game. I’m looking to move towards submodules as this seems the best way to go.
Of course, you can fork the github repo of Cocos2d-JS and use it as a submodule in your projects. But in this way, it will not be compatible with cocos console tool. But you can work with Xcode project or Visual Studio project (need to be modified also).
Otherwise, I suggest you to ignore frameworks/js-bindings and frameworks/cocos2d-html5 when you commit your project in a github repo. This will effectively reduce the size of your repo.