Adding private git repo via cPanel

后端 未结 4 2089
情话喂你
情话喂你 2021-02-08 03:53

I\'m trying to add a private git repo onto cPanel but have ran into permission issues and not sure where I\'m going wrong

I have generated the SSH keys in cPanel at the

4条回答
  •  天命终不由人
    2021-02-08 04:18

    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 : git@github.com:/.git

     git@github.com:/.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)

提交回复
热议问题