Changing git origin to point to an existing repository
- by int3
I'd like to make my local repo point to a different fork of the same project. Will this work?
Do a merge with the 'target origin'
Change the origin repo in my config file to the 'target origin'
Also, if my local repo is not entirely identical to the new origin (say, I've resolved some merge conflicts in my favor), will these changes be pushed to the new origin when I do a git push, or will only commits made after the change of origin get pushed?