Skip to content

Forking

PiGuy2 edited this page Apr 1, 2017 · 7 revisions

If you already forked

If you already have a fork and want to reset it to our repository, just go into Git Bash or Terminal and enter this:

cd PATH-TO-YOUR-REPOSTITORY-ON-YOUR-COMPUTER
git remote add upstream https://github.com/PhyXTGears-1720-pro/PhyXTGears-2017-Bling.git
git fetch upstream
git checkout master
git reset --hard upstream/master  
git push origin master --force 
  • Hint: to enter the path on a mac, go into the folder in finder, press ⌘↑, then drag the folder with your repository onto your terminal window, this will insert the path at the current cursor position

Fork

Go to the main code page of our repository. Click Fork (near the upper right corner).

Open in GitHub Desktop

Open the GitHub Desktop Application, once it finishes opening move on to the next step. Next, click the “clone or download” button and select “Open in Desktop.” This will open the repository in GitHub Desktop.

Next

Next read about how our code works

Clone this wiki locally