Created
July 3, 2013 16:58
-
-
Save clearf/5920477 to your computer and use it in GitHub Desktop.
Gist to properly turn in your active record homework if you didn't fork the repo.
This file contains 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
# In your homework repo | |
git branch active-record | |
git checkout active-record | |
# Obviously change to your username | |
git remote add new-repo git@github.com:<USERNAME>/sinatra-movie-production-active-record.git | |
# Confirmed that it worked | |
git remote -v | |
git pull new-repo master | |
# Merge conflicts, keeping your code and throwing away old code | |
# Commit the merge | |
git commit -am "merge" | |
git push new-repo active-record:master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment