Gangmax Blog

Update a Github Fork from the Original Repo

From Here.

1
2
3
4
5
6
7
8
9
10
11
# Add a remote branch to your repository that points to the original repo you forked from.
git remote add --track master octopress git://github.com/imathis/octopress.git

# To verify the remote repository was added run.
git remote

# Now we can fetch all the changes from imathis’s code base.
git fetch octopress

# Now we are ready to merge the code from the remote repository.
git merge octopress/master

—–EOF—–

Comments