Monday, May 11, 2015

Changes 5/11/15 - Changing a local git repo's upstream

Last Thursday, Chris helped me out with switching the LibriFox github from fccardiff/LibriFox to ahirschberg/LibriFox
 
$ git remote -v
origin  https://github.com/fccardiff/LibriFox.git (fetch)
origin  https://github.com/fccardiff/LibriFox.git (push) 
git remote is currently pointed to Finn's repo
$ git remote rm origin
$ git remote -v
no output, because the origin reference has been removed
$ git remote add origin https://github.com/ahirschberg/LibriFox.git
$ git remote -v
origin  https://github.com/ahirschberg/LibriFox.git (fetch)
origin  https://github.com/ahirschberg/LibriFox.git (push)
origin now points to the correct repo
$ git branch --set-upstream-to=origin/master master
Set up git so that it knows what you mean by $ git pull
$ git pull
Today, I worked on LibriFox a little more, then realized I should start on the notes app that Chris and I will be developing for the talk. I set up a repo for it, but didn't get much farther than that.

1 comment:

  1. Chris rocks! And you took good, clear notes. Thanks! I've been deep into (with Aki and Finn's help) updating the Firefox OS App Tutorial, which I've put here:

    http://www.openbookproject.net/tutorials/fxos/

    Romin does a notes app too (it seems to be common to use that as an example, since it is both useful and uses a lot of the technologies you want to teach). He uses jquery, but I'd be happier if you could do yours without any third party libraries. Let's see how it goes.

    ReplyDelete