Now I realize that the author has made a pull request, I can just merge that pull request from the github notices emails by running
for example. That should be easy!
However I was setting up a remote branch and check it out this manner:
git remote add seanocpn git://github.com/seandepagnier/OpenCPN.git
. origin <-- the main opencpn repositiory
. seanocpn <--sean's version repository
git remote -v
. origin git://github.com/OpenCPN/OpenCPN.git (fetch)
. origin git://github.com/OpenCPN/OpenCPN.git (push)
. seanocpn git://github.com/seandepagnier/OpenCPN.git (fetch)
. seanocpn git://github.com/seandepagnier/OpenCPN.git (push)
git remote show seanocpn
. shows all the branches on seanocpn including the master
git branch -a
remotes/origin/HEAD --> origin/master
--several other remote/origin branches
remotes/seanocpn/master (and others)
--we want to set this as our branch now
So now how would I checkout the remote and be able to compile it?
Would I make a new branch like this?
git checkout --track -b <local branch> <remote>/<tracked branch>
For my case:
git checkout --track -b ocpn-sean seanocpn/master
So I tried it.
C:\..\opencpn-git\build>git checkout --track -b ocpn-sean seanocpn/master
Branch ocpn-sean set up to track remote branch master from seanocpn.
Switched to a new branch 'ocpn-sean'
Next I went back to opencpn-git\build and ran cmake and it compiled!
Do you think it compiled sean's code?