[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 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

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug


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