When you want to use a GIT repository in APTANA follow this steps.
Step-by-step guide
- (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
- 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')
- 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)
- Go to github and marvel at your new work
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:
- 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.
- In Aptana go to Window/Preferences -> General/Network Connections/SSH2
- Edit the correct ssh2 home and files, see ssh2-aptana-preferences.png.
Ready!