Mar 24, 2010

my git remote

So occasionally I like to fork a project on GitHub well the proper way to do it is to use GitHub's fork button which then clone's the repo into your account. this is great! I can than clone that locally develop it an push to it. Usually I do this push with git push origin. I can then ask the owner of the original repo that I forked from to 'pull' my changes in. Wait did I just say original? why am I calling my repo on github origin? it's probably not the origin repo... it's not the primary project repo... so I decided I needed a new convention. I now do git remote add my uri://... for my repo's on github and git remote add origin uri:// for the projects authoritative repo. This also helps when I need to update my repo from the origin and then push them to my public forks.

4 comments:

  1. speaking of proper way to do things, wtf is
    this about?

    ReplyDelete
  2. ah. I plan on modifying that but I just haven't gotten around to it. I started looking at it, and just never got anything done. I'm not happy with the syntax highlighting of perl, or tt in vim, or the number of colors seemingly used. but I've never done that stuff so I'm still figuring how it works. It's just not a priority.

    ReplyDelete
  3. Or are you talking about my removal of Ciaran as the maintainer?

    ReplyDelete

Note: Only a member of this blog may post a comment.