Skip to content

Instantly share code, notes, and snippets.

@clearf
clearf / active-record-todo.sh
Created July 3, 2013 16:58
Gist to properly turn in your active record homework if you didn't fork the repo.
# 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
@clearf
clearf / linking_homework_repos.md
Last active December 19, 2015 13:19
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

Keybase proof

I hereby claim:

  • I am clearf on github.
  • I am clearf (https://keybase.io/clearf) on keybase.
  • I have a public key whose fingerprint is 5D98 D24F 4765 3903 ECB4 0588 2C86 B105 27B1 6B60

To claim this, I am signing this object: