quinta-feira, 17 de abril de 2014

GIT and SSH key on APTANA

Skip to end of metadata Go to start of metadata
When you want to use a GIT repository in APTANA follow this steps.

Step-by-step guide


  1. (only do this if you are using github) Go to your account on github and create the repo you want to use. Maybe add a md file. If you are not using GitHub but our own git repository you will need to Add ssh key to aptana
  2. Then in Aptana, File - Import - Git - Git Repository as New Project, follow directions on screen for github username & password and the url for the repo (you can go to your github account and copy the url ('https://github.com/userName/repoName.git')
  3. Do some work in Aptana, add files, folder, etc. then in Aptana's project browser right click on the project name, team - stage, commit, push (in that order)
  4. Go to github and marvel at your new work

Go to start of metadata
You would need to do this when connecting to a git repository for the first time. 

Step-by-step guide

Adding the ssh key to Aptana:
  1. Make sure you have your public and private keys under your user. Example for jlopes user, the files would be inside: C:\Users\JLopes\.ssh (on windows) home/jlopes/.ssh(on linux). The files are: id_rsa and id_rsa.pub. 
  2. In Aptana go to Window/Preferences -> General/Network Connections/SSH2
  3. Edit the correct ssh2 home and files, see ssh2-aptana-preferences.png.

    Ready!

Sem comentários: