Skip to content

Instantly share code, notes, and snippets.

@kkarad
Created March 27, 2010 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkarad/346399 to your computer and use it in GitHub Desktop.
Save kkarad/346399 to your computer and use it in GitHub Desktop.
# Lists all remote repositories
git remote -v
# Adds a new remote repsitory
git remote add koshuke git://github.com/kohsuke/hudson.git
# Removes a remote repository
git remote rm koshuke
# Fetches all commits from a remote
git fetch koshuke
# Merge all commits from a particular remote's branch
git merge koshuke/master
# Uploads the integration results to the origin repository
git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment