git remote add {name} {Public Clone URL}
git pull {name} master
git push
Example:
git remote add bret git://github.com/bret/watir.git
git pull bret master
git push
More Related Contents:
- How do I update or sync a forked repository on GitHub?
- How do you merge two Git repositories?
- Download a single folder or directory from a GitHub repo
- Moving Git repository content to another repository preserving history
- Git – Ignore files during merge
- Untrack files from git temporarily
- Trying To Understand/Determine A Basic Git Workflow
- Can I arrange repositories into folders on Github?
- Repository size limits for GitHub.com
- How do I rename a repository on GitHub?
- Delete local Git branches after deleting them on the remote repo
- Create a GitHub repository from command line
- How to rebase one Git repository onto another one?
- GitHub changes repository to the wrong language
- Git: Merge a Commit into a different Branch
- Connecting one Github repository to several Aptana projects
- Transfer git repositories from GitLab to GitHub – can we, how to and pitfalls (if any)?
- Can a project have multiple origins?
- git subtree: possible to change subtree branch/path in a forked repository?
- Git clone repository error: RPC failed; result=56, HTTP code = 200
- Git, fatal: The remote end hung up unexpectedly
- Git keeps prompting me for a password
- Git SSH error: “Connect to host: Bad file number”
- How to recover from a git push -force?
- ‘git diff’ doesn’t show enough
- Git: merging public and private branches while while keeping certain files intact in both branches
- How to merge the remote branch and ignore the config setting?
- How to push changes to github after jenkins build completes?
- Clone only the .git directory of a git repo
- when you have secret key in your project, how can pushing to GitHub be possible?