Deploying a Git repository to your account

Deploying a Git repository to your account

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

You can use Git to deploy your website or web app to your shared account or VPS.

Steps to deploy your first Git repository

1. Use SSH (Secure Shell) Client OR Terminal to login to your server account username: your-server-account-name password: xxxxxx

2. If the repo is a private GitHub repo start by creating a deploy key through the terminal: ssh-keygen -t ed25519 -C 'your-account-email'

3. Copy the key and add it on https://github.com/your-github-account/your-awesome-website/settings/keys

4. Allow write access if you prefer and go to your terminal to clone the repo your-github-account/your-awesome-website

You have pushed your-awesome-website to your server account or VPS and you can now setup the repos configurations for the world wide web.

Feel free to contact support for any help with this.

Tags: , , , ,