Essentially, 'git status -s' would be the appropriate one. If it returns
anything to stdout, then you can either parse the result or just note
that the repository is unclean.
Certainly setting up aliases are good, but if you are accessing commands
from a script that is being used by others, it is
I've been tagging my commits, and now I want to use that in my code. The
'git describe' command does this nicely:
In my sandbox I get '1.0.3-1-gf9a4796', but if I push (actually pull)
that into another repository I get '1.0.3'.
I would like to be able to display the version as well as the commit
On 10/26/2011 01:23 PM, Jerry Feldman wrote:
I've been tagging my commits, and now I want to use that in my code. The
'git describe' command does this nicely:
In my sandbox I get '1.0.3-1-gf9a4796', but if I push (actually pull)
that into another repository I get '1.0.3'.
I would like to be