CSC495-2014 / TeamworkEnglewoodGit

GNU General Public License v2.0
5 stars 15 forks source link

git custom commands #147

Closed kjmcmahon closed 10 years ago

kjmcmahon commented 10 years ago

@ZAM- Since the git add/commit buttons are not implemented on the server yet I was testing using the custom button. First of all I'm having an issue with the private key not being found. Heres the error I'm getting:

{"error":{"type":"GitWrapper\GitException","message":"Path private key could not be resolved: ..\/data\/users\/kjmcmahon\/id_rsa","file":"\/home\/ken\/lampstack\/frameworks\/laravel\/vendor\/cpliakas\/git-wrapper\/src\/GitWrapper\/GitWrapper.php","line":286}}

Also is the directory separator supposed to be "\ /" ?

samuelfrench commented 10 years ago

You need to generate an ssh key and put it in the /data/users/kjmcmahon folder.

samuelfrench commented 10 years ago

Don't worry about the "\/" thing, it will work once you generate a key.

kjmcmahon commented 10 years ago

I got it working.