Let's say I have a repo X
on GitHub , and I'm interested in the branch DEV
. I also have a repo Y
on Codeplex.
What I'd like to do is first adding X
repo on GitHub as a remote of repo Y
; then, I want to be able to fetch the content of X/DEV
and merge it into Y
's origin/master
branch.
I'm a Git newbie, so I'd like to read a step by step explanation. I tried to do it myself, but I ended up pushing the content of X/DEV
to X/master
by mistake...