I would like to use swagger (https://github.com/wordnik/swagger-ui) as part of my project. Using swagger requires editing one file. Can I add a submodule and make edits to certain files, commits and push to my public repo instead of upstream?
I used to use subtrees for that but out of a sudden subtrees stopped to work (another issue, identical to https://jira.atlassian.com/browse/SRCTREE-2000)
I would rather fork wordnik/swagger-ui
, and declare that fork as a submodules.
That way, I can:
wordnik/swagger-ui
, and rebase my own branch on top of 'upstream/master
', in order to keep up-to-date with the latest evolutions.