[Freeswitch-users] freeswitch and git problem/question

covici at ccs.covici.com covici at ccs.covici.com
Fri Sep 24 07:57:26 PDT 2010


OK, thanks that explains things better.

Mathieu Rene <mrene_lists at avgs.ca> wrote:

> Hi,
> 
> This state is called detach head mode as is meant to look around the tree and checkout different versions, if you want to pull changes and/or do local commits, you need to have an active local branch.
> 
> The command "git branch" will list all local branches, you should have one named "master", this is the main one. "git branch -r" will list  remote branches (the master branch is also called origin/master when dealing with git remote). It is important to remember that you always make a copy of a repository with git, and that you synchronize that copy when you pull/push.
> 
> In order to switch back to the master branch, simply do "git checkout master". This will bring you back to a normal operational mode where you will be able to pull as you want.
> 
> Mathieu Rene
> Avant-Garde Solutions Inc
> Office: + 1 (514) 664-1044 x100
> Cell: +1 (514) 664-1044 x200
> mrene at avgs.ca
> 
> 
> 
> 
> On 2010-09-24, at 4:37 AM, covici at ccs.covici.com wrote:
> 
> > Hi.  I ran into a strange problem with git yesterday -- I had checked
> > out an older commit using git co and the commit number for testing, but
> > git would not let me go back to head -- it complained that I was not in
> > a branch and wanted me to specify the repository and refs on the command
> > line, but nothing I did worked, so I wiped the whole thing out and
> > started again.  However there has got to be a way to do this -- I am
> > sure I did things like that in other git projects, so what am I doing
> > wrong because I don't know git as well as I would like to.
> > 
> > Thanks for any ideas on this.
> > 
> > -- 
> > Your life is like a penny.  You're going to lose it.  The question is:
> > How do
> > you spend it?
> > 
> >         John Covici
> >         covici at ccs.covici.com
> > 
> > _______________________________________________
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> 
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



More information about the FreeSWITCH-users mailing list