Created
October 8, 2014 17:48
-
-
Save alanhay/975471cf0728a14f3610 to your computer and use it in GitHub Desktop.
Clone an Existing Repository to a new Location and Import to Eclipse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create a new Empty Repository in GitHub. | |
| From the root of the local git repo: | |
| >> git clone https://github.com/alanhay/spring-data-jpa-bootstrap.git .\spring-data-jpa-scratchpad | |
| Update the remote 'origin' to point to the new empty repo: | |
| >> git remote set-url origin https://github.com/alanhay/spring-data-jpa-scratchpad.git | |
| Push the cloned repo up to the remote Repository: | |
| >> git push origin master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment