On Wed, Sep 15, 2010 at 03:07:52PM +0000, Pauli Virtanen wrote:
> and pick a state that seems good, usually somebra...@{1} if you didn't do 
> new commits etc. on the branch yet:

>     $ git checkout somebra...@{1}
>     ... check now that this is the state you'd like somebranch to have...
>     $ git branch -f somebranch somebra...@{1}

OK, the above was what I was missing. Thanks a lot, it's very useful.

> Note that 

>     $ git reflog

> does *NOT* show the reflog of the current branch -- it shows the reflog 
> of HEAD, which can in some cases be confusing. The point is that HEAD is 
> a meta-branch that corresponds to the current checkout, and so changes 
> every time you use "git checkout".

Thank you, I hadn't realized!

Gaël
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to