Open Eclipse
Click on Help menu
Click Install New Software
Install eGit into Eclipse. Git version control with Eclipse (EGit)
URL: http://download.eclipse.org/egit/updates
Click on Help menu
Click Install New Software
Install eGit into Eclipse. Git version control with Eclipse (EGit)
URL: http://download.eclipse.org/egit/updates
Click Add
Give a name and click OK
Click Next.
After install Go to Window->Open perspective->Other
Select Git and click OK.
Then Clone a Git repo
OR
Click next.
Select the branches you want and click next
Browse the directory you want to setup the project and click finish.
Go to Window->Open perspective->Other and select resource
Click OK
Go to
‘File’ > ‘Import’ > ‘Git’ > ‘Projects from Git’ > ‘Existing local repository’ > ‘Select a Git Repository’ >
‘Import as General Project’ >
‘Next’ >
‘Finish’
The code should then appear in your ‘Project Explorer’ window as a normal project
Now make changes to your file as you want
Look at ‘Git Staging’ view to see your changed files and Click ‘Commit and Push‘
That's all...
No comments:
Post a Comment