Adding private git repo via cPanel

CLONE GITHUB REPOSITORY TO CPANEL STEPS

steps 1. Cpanel -> SSH Access -> Generate New Key(without enter pasword)->after generated key go to under public key-> manage-> authorize (make authoize) -> back, now view/download-> copy key

Step 2. Go Github-> https://github.com// -> Settings(repository setting) ->Deploy Keys (rights side)-> add deploy key (give title,and add key)-> done

Step 3. Go to Cpanel -> Git™ Version Control -> clone url : [email protected]:/<private_repository_name>.git

 [email protected]:<user_name>/<repository_name>.git

-> give_repository_path

-> give_ repository_name

-> create

Step 4. manage repository from list-> Manage -> pull or deploy from Github -> Click on Update from Remote: works perfectly(any files edit or delete you fetch/pull from GitHub now)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)