[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora selinux-user-guide translation



On Wed, May 27, 2009 at 08:58:12AM -0400, Paul W. Frields wrote:
> On Wed, May 27, 2009 at 11:23:08AM +1000, Ruediger Landmann wrote:
> > A plain "git clone" will only give you the master branch of the document, 
> > which is not frozen for translation and does not contain any recent 
> > translations. For any of the subsequent instructions to work, you must be 
> > working in the "f11-tx" branch. So, the full checkout procedure would go 
> > something like:
> >
> > git clone git://git.fedorahosted.org/docs/user-guide.git
> > git branch --track f11-tx origin/f11-tx
> > git checkout f11-tx
> >
> > In English this means:
> > - Create the local git repository from the remote user-guide repository
> > - Set up a local branch named f11-tx to track the remote branch named f11-tx
> > - Switch local branches so that you're working in the local f11-tx  
> > repository
> >
> > Someone with better git skills than me could probably reduce those  
> > commands down into a single line. :)
> 
> You can condense the last two steps into one:
> 
> git checkout -b --track f11-tx origin/f11-tx

Apparently I need more coffee.  That should have been:

git checkout -b f11-tx --track origin/f11-tx

Paul


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]