github.com/OpenCPN ---> c:/github/OpenCPN ---> github.com/[User]/OpenCPN
Then if you have created Commits to contribute
github.com[User]/Opencpn --> github.com/OpenCPN
To start over, I removed my Local Opencpn
Repository using git.
Then deleted my github fork of opencpn
github.com/rgleason/OpenCPN by going to
Go down to the danger
"Delete this repository" , since I had not contributed any code.
To Establish your own github.com/[User]/OpenCPN repository.
Go to https://github.com/OpenCPN/OpenCPN
Pick "Fork" at the top right and fork it to your local repository
Provided you have installed the desktop
Start Github and hit the + and Clone Opencpn to your local github directory
otherwise from the command prompt, navigate to your local github directory and issue:
git clone git://github.com/[User repository]/Opencpn.git
git checkout master
git branch -v [make sure HEAD is on *master]
Only if you do NOT have an upstream branch (see verify below)
C:\..\GitHub\OpenCPN>git remote add upstream https://github.com/OpenCPN/OpenCPN.git
Verify Upstream branch exists
If you already have an upstream branch to the origin as above and want to track it, do this once to establish the link as Pavel suggests. Go to Start > All Programs > Git Shell which brought up "Windows PowerShell" (normal CMD did not work for me).
C:\Users\..\GitHub\OpenCPN [master +18 ~0 -0 !]> git fetch upstream
C:\Users\..\GitHub\OpenCPN [master +18 ~0 -0 !]> git branch -u upstream/master master
Branch master set up to track remote branch master from upstream.
and then regularly
git pull [To update your local repository from upstream]
git push origin master [Update your copy on github]
Then configure an upstream remote for a fork
Syncing a Fork
Summary of Process
'git pull' updates
2. C:/user/../github/OpenCPN [updated
'git push origin master' updates
push commit, if helping to code offer update to