On 14. 2. 2013 Edward Toroshchin wrote:
> On Wed, Feb 13, 2013 at 08:14:05AM -0800, [email protected] wrote:
> > git branch -a | grep \*
> >  * master
> > git log | head -n 1 | grep commit
> >   commit 31f75878b6658b5c29fa681a1dc61454b35e502f
> 
> `git branch` and `git rev-parse HEAD` (respectively) do essentially the
> same.

I consider `git describe --dirty` superior to all above when you just want to 
show what commit are you at.

        Matěj
_______________________________________________
Amarok-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/amarok-devel

Reply via email to