Tuesday 24 August 2021

Git cloning in another machine

 I wanted to update scr-webservice code to test uploading images.

The Github repository was created under my matthewoh93 google account.

When I tried to git clone the repo in my dell ubuntu laptop, it was giving below error.



This is because my dell laptop has ssh key bound to matthew.oh@executestrategy.net account.

I tried to add the ssh key into my github, but it didn't work. It returned that 'Key exists already' error.


I don't know what it means, but basically, the ssh key in the machine (matthew.oh@exec) cannot be used in this case (matthewoh93@gmail).

The only solution was inviting matthew.oh@exec into my personal account as collaborator.

The menu is somewhere collaborator invite etc ...

YOu get email invitation.


Accept it. Run git clone again. Voila, it worked.



Now you run lumen. But have errors because other dependencies not installed.



RUn composer install and you get all files. Voila again, Lumen web API is working on your new machine!





No comments:

Post a Comment