git.rst
changeset 2126 09e2e50d02aa
parent 2124 3afe57643e44
child 2152 a48ba30d5b20
equal deleted inserted replaced
2125:754abf10c819 2126:09e2e50d02aa
   194 
   194 
   195 To detect if remote repository have new changes::
   195 To detect if remote repository have new changes::
   196 
   196 
   197   $ git ls-remote
   197   $ git ls-remote
   198   $ git ls-remote $upstream
   198   $ git ls-remote $upstream
       
   199 
       
   200 View git commits
       
   201 ================
       
   202 
       
   203 Review specific commit with::
       
   204 
       
   205   $ git show $REV
       
   206   $ git diff $REV^ $REV
       
   207 
       
   208 Review difference between commits::
       
   209 
       
   210   $ git $REV1 $REV2
       
   211 
       
   212 Review history with diffs::
       
   213 
       
   214   $ git log -p
       
   215   $ git log -p $FROM_REV
   199 
   216 
   200 View unpublished git commits / analog of git 'hg outgoing'
   217 View unpublished git commits / analog of git 'hg outgoing'
   201 ==========================================================
   218 ==========================================================
   202 
   219 
   203 ``git`` does not directly support such feature. Recently ``hg`` start tracking
   220 ``git`` does not directly support such feature. Recently ``hg`` start tracking