[git-users] Best Practices

2012-02-08 Thread FD
Hello, I'm new to git and I used svn before. I would like to know what are the best pratices when one generates an executable to be able to retreive sources related to the executable. With svn. It was automatic. I had a file, when updated, that get automatically the svn-revision number and other

[git-users] Re: Best Practices

2012-02-08 Thread Thomas Ferris Nicolaisen
If I may reformulate your question: how can I include revision information in my build? As far as I can remember, in SVN some did it differently by having a keywords in files that would be replaced during commit (a similar question is discussed here on

[git-users] Re: Best Practices

2012-02-08 Thread FD
Thanks, it's what I need. What other informations can I obtain on HEAD and how? Is it possible to know the author, branch? maybe with git show HEAD ... On 8 fév, 12:30, Thomas Ferris Nicolaisen tfn...@gmail.com wrote: If I may reformulate your question: how can I include revision information

[git-users] Re: How can I know which line was changed in git ?

2012-02-08 Thread Jeenu
On Tuesday, February 7, 2012 11:21:57 AM UTC+5:30, paymaster wrote: Hi I'm making some kind of testing tool. This tool needs what line changed information in file. But I could not found that information by git command. There's no single command that'd give you that information. But

[git-users] Re: Best Practices

2012-02-08 Thread FD
I found git show --format=XXX HEAD On 8 fév, 13:40, FD du...@hotmail.com wrote: Thanks, it's what I need. What other informations can I obtain on HEAD and how? Is it possible to know the author, branch? maybe with git show HEAD ... On 8 fév, 12:30, Thomas Ferris Nicolaisen tfn...@gmail.com