1

I have a repository where I make use of a library that is available on GitHub.

I added that library as a submodule and I made some modifications to it. Is it possible that I can now push the commits of the submodule to my own repository? git push inside the submodule tries to push to the library's GitHub where I have no access to write.

Darman
  • 21
  • 5
  • 2
    One option is to fork the library on GitHub, and include that as your submodule. You would then have full permissions to push changes to your fork when required. – Andrew McClement Nov 23 '21 at 16:35
  • 1
    https://stackoverflow.com/q/849308/7976758 , https://stackoverflow.com/search?q=%5Bgit%5D+push+multiple+remotes – phd Nov 23 '21 at 17:04

0 Answers0