Re: [Discuss] A couple of git questions regarding tags

2011-10-27 Thread Jerry Feldman
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

[Discuss] A couple of git questions regarding tags

2011-10-26 Thread Jerry Feldman
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

Re: [Discuss] A couple of git questions regarding tags

2011-10-26 Thread Jerry Feldman
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