Git with Eclipse (EGit)

http://www.vogella.de/articles/EGit/article.html
bu sitedeki adımları takip ettim. Fakat eclipseteki kodları github a push etmek isterken “Reason: ssh://git@github.com:22 Passphrase for ...” gibi bi hata çıkıyor. çünkü, bendeki eclipse versiyonu indigo ve galiba incubationlarda böyle bir bug varmış. bu linkte de görüldüğü gibi, eclipse in older versionlarından birini yüklemek gerekiyor. peki Where can I find older releases of EGit? :)
bendeki güncel versiyonu uninstall edip, http://download.eclipse.org/egit/updates-1.0 bunu install ettim, oldu. yani github a eclipseteki projeyi push edebildim.

Alternatively, şöyle de birşeyler var:

Simple fix that skips the passphrase and uses only Eclipse

  1. Use ssh-keygen from Git Bash, or Eclipse, to generate an RSA key, but do so without setting a passphrase.
  2. Open and copy the public key from ~/.ssh/id_rsa.pub and add it to GitHub via the SSH Public Keys section in Account Settings.
  3. Restart Eclipse. (Note: Not doing this was tripping me up for a while.)
  4. Try the Push Upstream steps again from the EGit User Guide.

The obvious pitfall here is that a passphrase cannot be associated with the RSA key. If skipping the passphrase is out of the question the following solution a little more up your alley.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s