I am maintaining a fork of a git repo on github. I have two remotes: origin which points to the original location and fork which points to my github repo.
I pushed to github following their help with git push -u fork master. It worked but it mentioned something about modifying a remote. How do I pull from the origin and push to github ?
There are ways to preset these kinds of things, but I’d probably just stick with the classic:
I don’t particularly like setting upstream branches, but that’s just because I’m cantankerous and like explicit ref specification. I also skip
git pullentirely in favor ofgit fetchandgit mergeand those kids had best get off my lawn.