Skip to content

Instantly share code, notes, and snippets.

@curtisallen
Created April 18, 2013 00:02
Show Gist options
  • Select an option

  • Save curtisallen/5408789 to your computer and use it in GitHub Desktop.

Select an option

Save curtisallen/5408789 to your computer and use it in GitHub Desktop.
how to add a github remote from an existing git repo
git clone <OPENSHIFT STUFF>
cd <OPENSHFIT REPO DIR>
git remote add github -m master https://github.com/curtisallen/<reponame>.git
git pull -s recursive -X theirs github master
@curtisallen
Copy link
Copy Markdown
Author

then you can do

git push origin master
git push github master

@newmanw
Copy link
Copy Markdown

newmanw commented Apr 19, 2013

$ git pull -s recursive -X theirs github master

fatal: Couldn't find remote ref master
Unexpected end of command stream

What is this command supposed to do???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment