Integrate getRepositories for SSH intranet


#1

Include an SHH option on atom.project.getRepositories()[index], so then we can use Atom extensions on gitHub Enterprise repositories inside an intranet on companies.


#2

The objects returned by atom.project.getRepositories() don’t have anything to do with connecting to remote repositories, whether via SSH, HTTPS or any other supported transport. They only exist to work with the local repository. With that said, if the local repository has a remote defined for a remote repository via SSH, it is completely capable of returning the SSH origin URL:

atom.project.getRepositories()[0].getOriginURL()
"git@github.com:atom/about.git"