Skip to content

Instantly share code, notes, and snippets.

@ThomasWunderlich
Last active August 29, 2015 14:11
Show Gist options
  • Save ThomasWunderlich/adf9c4508b1724a769b6 to your computer and use it in GitHub Desktop.
Save ThomasWunderlich/adf9c4508b1724a769b6 to your computer and use it in GitHub Desktop.
Forking instructions. This shows how to fork a repo, and keep a repo in sync with the original repo
  1. Fork a repository (http://github.com/zendframework/zf1)
  2. Clone your fork locally and enter it (use your own GitHub username in the statement below)
% git clone git@github.com:<username>/zf1.git
% cd zf1
  1. Add a remote to the canonical repository, so you can keep your fork up-to-date:
% git remote add zf1 https://github.com/zendframework/zf1.git
% git fetch zf1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment