[LRUG] git question

Chris Mear chrismear at gmail.com
Thu Aug 20 04:37:16 PDT 2009


On 20 Aug 2009, at 12:31, Taryn East wrote:

> Yep - and this is what I eventually did - ie a local branch of the  
> remote master of rails/rails...
> but I had hoped I could store things in the remote fork because that  
> way I could work at home, at work, or anywhere else and have access  
> to my latest (uploaded) commits...  without having to wait until  
> they were accepted into rails/rails
>
> No problem if that's the only way to do it, I guess I hoped to  
> figure out if there is any way.

Sure you can; I do this a lot:

   git checkout master
   git fetch origin
   git merge origin/master

   git checkout -b mycoolnewthing

commit, commit, commit

   git push chrismear mycoolnewthing

Then, on another computer, I can do

git fetch chrismear
git branch mycoolnewthing chrismear/mycoolnewthing
git checkout mycoolnewthing

and I'm all set to carry on working.

Chris




More information about the Chat mailing list