git.rst
changeset 2123 f98c2b2e6c07
parent 2122 24fbab64cf91
child 2124 3afe57643e44
equal deleted inserted replaced
2122:24fbab64cf91 2123:f98c2b2e6c07
   170 .. note::
   170 .. note::
   171 
   171 
   172    Only curtain branches fetched by default::
   172    Only curtain branches fetched by default::
   173 
   173 
   174      [remote "origin"]
   174      [remote "origin"]
   175 	 url = ...
   175      url = ...
   176 	 fetch = +refs/heads/*:refs/remotes/origin/*
   176      fetch = +refs/heads/*:refs/remotes/origin/*
   177 
   177 
   178    Edit ``fetch`` value to change defaults.
   178    Edit ``fetch`` value to change defaults.
   179 
       
   180 
   179 
   181 git analog of 'hg incoming'
   180 git analog of 'hg incoming'
   182 ===========================
   181 ===========================
   183 
   182 
   184 git does not directly support such feature. You can emulate it by::
   183 git does not directly support such feature. You can emulate it by::
   214   $ git diff origin/master..
   213   $ git diff origin/master..
   215 
   214 
   216 Verbose syntax::
   215 Verbose syntax::
   217 
   216 
   218   $ git log --branches --not --remotes
   217   $ git log --branches --not --remotes
       
   218 
       
   219 http://stackoverflow.com/questions/2016901/viewing-unpushed-git-commits
       
   220   Viewing unpushed Git commits.
       
   221 http://stackoverflow.com/questions/3636914/how-can-i-see-what-i-am-about-to-push-with-git
       
   222   How can I see what I am about to push with git?
   219 
   223 
   220 git analog of 'hg glog'
   224 git analog of 'hg glog'
   221 =======================
   225 =======================
   222 ::
   226 ::
   223 
   227