Configure GIT for Multiple Users

GitTechnology

I use Eclipse for Java development environment on Windows platform. In this article, we will clone an existing Git repository.

[In the complete article we are not using authentication details anywhere except adding the ssh key in github.com]

Step 1: Download Eclipse and install Eclipse.

Can be downloaded for www.eclipse.org. Extract the file and run eclipse.exe A copy of shortcut on the desktop is recommended for easy navigation.

Step 2: Install EGit for Eclipse.

Step 3: Add SSH key.

Navigate to

Windows-> Preferences-> general -> Network Connections -> SSH2

Step 4: Add the public key to Dashboard

This clipboard can be added to the SSH keys in the dash board of github.com

Account Settings (on the top right) -> SSHkeys

Step 5: Import Git Repository

File -> Import -> Git -> Projects from Git(from the cascaded tree) -> Next

Select URI

[eg: git@github.com:chaitan64arun/GitRepo.git]

You get an another window, choose appropriately. Then it s done..!!

Different for different users

Step 6: Open project from Eclipse.

Use Team Synchronizing Perspective to easily commit changes and push it to the remote repository

Done…!! Now more than one developer can work on a project.

P.S. By adding the SSH key, you are allowing the user to modify your other repositories as well.