Android and iOS have supported this in their create scripts for a long time (via the --shared flag).
I'd like to wire this up to cordova-lib under the --link flag to be consistent with plugin add --link.
I'll change platform scripts to accept either --link or --shared, but cordova-lib will pass --link to the create/update scripts.
The end result of this change, will be that you can create a project for iOS / Android where all native files can be edited with an IDE and the changes will be reflected in their git repos.
Would love if other platforms followed suit, but will keep this bug for Android / iOS (please link other issues to this one though)