Skip to content

Instantly share code, notes, and snippets.

@clearf
Last active December 19, 2015 13:19
Show Gist options
  • Save clearf/5961089 to your computer and use it in GitHub Desktop.
Save clearf/5961089 to your computer and use it in GitHub Desktop.
Instructions to push to new homework repo.

Fork the new homework repo tasks with contacts Change directories to the repository from yesterday's homework.

Run

git remote add tasks2 <URL>

where is the ssh URL from your forked repository (what you usually use to clone from, something in the form of "git@github.com:clearf/rails-todo-with-contacts.git")

git pull tasks2 master You may be asked to commit a merge. Save and close the merge message.

git push tasks2 master

Now when you push, you'll do git push tasks2 master

When you're done, issue a pull request from TODAY's forked repository.

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