I am using a forked repo as submodule in another repo, and I want to push changes made to that forked repo without triggering a pull request or anything like that. It sounds pretty straight forward but the reason I'm hesitating is because when I try to do that, Git asks me for my username and password even though I have ssh keys set up, leading me to suspect that something is wrong.
So, to simplify:
- I have the larger repo A
- I have submodule B which I've forked from another repo
- I want to make changes to repo B, preferably to an alt branch but not necessarily
- I do not want any pull request to ever happen to the original authors of repo B. I have forked repo B as a way to have a functional copy as a submodule in repo A. I would like to make branches in repo B to edit hardcoded paths in the scripts for each project I use repo B for, for example, but that's not necessary.
I have considered also creating a branch and pushing to origin/<branch>
instead of origin/master
, but again, it asks me for the UN/PW, which I do not like. I don't like the possibility that I might accidentally trigger a pull request or somehow modify the original repo, as in the non-forked repo, which I don't want to do. Any advice?