git.rst
changeset 2171 2ded7f1cf6c0
parent 2153 e88e36e73ebc
child 2172 850d2d84e4c8
equal deleted inserted replaced
2170:b3827a5ac4c3 2171:2ded7f1cf6c0
   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 Move branch pointer to arbitrary hash::
       
   181 
       
   182   $ git branch -f $NAME $HASH
   179 
   183 
   180 git analog of 'hg incoming'
   184 git analog of 'hg incoming'
   181 ===========================
   185 ===========================
   182 
   186 
   183 git does not directly support such feature. You can emulate it by::
   187 git does not directly support such feature. You can emulate it by::