![git add remote repo git add remote repo](https://codelearn.io/Media/Default/Users/T_5FFlower/blog/remote.jpg)
#GIT ADD REMOTE REPO PASSWORD#
Select your new Eclipse project and click "Team" > "Push To" and enter "Your GitHub Clone URL" and your GitHub password(with the free github accoutns do not enter a password but leave blank), leave the user as "git".if you don't have SSH keys yet you may generate them on the second tab "Key Management" of this dialog, use a good pass phrase to protect your private key, for more details see "working with key passphrases".open "Window" > "Preferences" and ensure that your SSH2 home is configured correctly (usually this is ~/.ssh) and contains your SSH2 keys (upload your public key to your GitHub account settings).you get a fresh clone URL for this new repository.follow EGit/User Guide/Getting Started to create a new local repository (with your content instead of the demo project).Pushing a Local Repository to GitHub Create Local Repository If it is not checked, the Team operations can still be enabled later on by choosing the project in eclipse and selecting Team -> Share Project. Enable Git Team operations on imported projects - If this checkbox is selected the imported project are shared with the EGit Team provider.On the next page the Eclipse projects found in the cloned repository are presented. If you end the wizard with the "Cancel" button later on you will be asked if the clone should be deleted. This is necessary to find the eclipse projects. Note that if you press "Next" on this page the repository will immediately be cloned by the wizard. If not checked, the finish button is enabled. In this case the finish button is disabled and the wizard continues with the project selection. Import projects after clone - If checked, the repository is searched for eclipse projects.Remote name - Define a name for the remote repository.Initial branch - Choose here which local branch will be created and checked out.It will be created by the wizard if it does not yet exist. Directory - The directory which will contain the Git repository.On the next page define where you want to store the repository on your file system and define some initial settings. On the next page choose which branch should be cloned from the remote repository: file - File system access to the repository.https - Hypertext Transfer Protocol Secure can be tunneled through firewalls.http - Hypertext Transfer Protocol can be tunneled through firewalls.
![git add remote repo git add remote repo](https://angus.readthedocs.io/en/2016/_images/git_new_repository.png)
Typically used for authenticated write access to the repository. git+ssh - Git over secure shell (SSH) protocol.Typically used for anonymous read access to the repository. This protocol doesn't provide authentication. git - The most efficient built-in git protocol (default port 9418).Password The password used for authentication.User - The user name used for authentication.Protocol - One of the protocols described below.Repository Path - Path to the remote repository or on the file system.Host - The name of the remote host or empty if cloning from the file system.This field is automatically synchronized with the other fields. URI - The complete URI of the remote repository or the path on the file system.On the first page of the wizard enter the location of the remote repository: Start the import wizard by navigating to File -> Import. Using the Git import wizard you can clone remote repositories using different transport protocols.Īdditionally you may import existing Eclipse projects into your workspace and share the projects with the Git team provider. Working with remote Repositories Cloning remote Repositories 1.3 Pulling (merge or rebase) new changes from upstream.1.2 Pushing a Local Repository to GitHub.