Use git in eclipse
create git repository
- Select your project top node
- Right Click
- [Team] -> [Share Project]
- select [Git]
- check [Use or create repository in parent folder of project]
- select your project folder
- Click [Create Repository]
- Click [Finish]
add file to git
- select file
- Right Click
- [Team] -> [Add to index]
browse git repository
- [Window]-> [Open perspective]->[other]
- select [Git]