git.rst
changeset 1641 04e215a475e0
parent 1334 9bf0d5a1f0cf
child 1650 a48c3c61d0f9
equal deleted inserted replaced
1640:07075b81fdfc 1641:04e215a475e0
    23   $ git config --global user.mail "gavenkoa@gmail.com"
    23   $ git config --global user.mail "gavenkoa@gmail.com"
    24   $ cat ~/.gitconfig
    24   $ cat ~/.gitconfig
    25   [user]
    25   [user]
    26     name = Oleksandr Gavenko
    26     name = Oleksandr Gavenko
    27     mail = gavenkoa@gmail.com
    27     mail = gavenkoa@gmail.com
    28 
       
    29 Windows.
       
    30 --------
       
    31 
       
    32 No official support for Windows OS.
       
    33 
    28 
    34 Cygwin.
    29 Cygwin.
    35 -------
    30 -------
    36 
    31 
    37   $ setup.exe -p git
    32   $ setup.exe -p git
   185   $ git init
   180   $ git init
   186   $ git add .
   181   $ git add .
   187   $ git commit -m "Initial commit"
   182   $ git commit -m "Initial commit"
   188   $ git remote add origin https://$USER:$PASS@$HOST/$REPO
   183   $ git remote add origin https://$USER:$PASS@$HOST/$REPO
   189   $ git push -u origin master
   184   $ git push -u origin master
       
   185 
       
   186 Show heads in branch.
       
   187 =====================
       
   188 ::
       
   189 
       
   190   $ git show-ref --heads -s
   190 
   191 
   191 Find most recent tag for revision.
   192 Find most recent tag for revision.
   192 ==================================
   193 ==================================
   193 ::
   194 ::
   194 
   195