Update a Repo
Problem to Solve
The instructor has updated the master repository for an assignment, and I want to pull those changes into my already-existing fork of the assignment.
Recipe:
-
Log into Beskar and navigate to the main repo folder.
-
Commit and push changes to GitHub if you've done any work in the repo.
-
Open a terminal from the Launcher.
-
At the terminal prompt, execute
./sync_fork.sh
.- Messages should appear telling you that the appropriate fetching and merging has occurred.
- If anything seems wrong, contact Prof. Beatty.
BTW, it's also possible to do this via the GitHub web interface, but it's a bit more complicated. We can fall back to that if the script doesn't work for some reason.