If you are sharing a project which would be edited both in Windows and Unix systems, then its best to set the New text file line delimiter settings for eclipse to Unix. To do this Open Eclipse preferences from Windows->Preferences. Navigate to General -> Workspace and then for the “New text file line delimiter” choose radio button “Other” and from the list select “Unix”. Also since eclipse by default is not using file encoding UTF-8, its best to set that also while you are doing this. Under “Text file encoding” choose radio button “Other” and from the list select “UTF-8”.
To checkout a single file using Git GUI, go to the Tools menu and add the following command
git checkout $REVISION -- $FILENAME
Now select the file to checkout and run the command .
See Stack overflow post about this here – http://stackoverflow.com/questions/1507300/git-checkout-revision-of-a-file-in-git-gui
Found this Open source code review tool http://www.reviewboard.org/screenshots/
through this Yelp Engineering blog post – http://engineeringblog.yelp.com/2010/09/push-it.html
I didn’t try it but the users list http://www.reviewboard.org/users/ shows that it should be pretty good, and also it supports Git version control
I wanted to avoid Git asking for password every time I do
Since Git client was using SSH for communicating with the Git server, the solution was to configure SSH between the Git client machine and Git server machine to be done without password. I found this web page with clear explanation of how to do this.
I wanted to install Git in CentOS release 5.3, but running command
yum install Git
did not work. Then I found this blog which gave instruction on how to do it.
Git unlike SVN or CVS, was not auto merging when doing “git pull”. I couldn’t understand why it was not doing it, also I was too lazy to look into Git documentation to find out the reason. Somehow I found out that after doing “git commit” and then doing “git pull” made Git to auto merge.