Setting up a remote Git Directory

A git directory is the directory where the actual files / theme / source code is stored.

Instructions

  1. Open Terminal
  2. Connect to the server via SSH
    ssh -p 2020 root@194.39.166.106.srvlist.ukfast.net
  3. Enter the server password
  4. Navigate to / create a directory (for a WordPress website go to the ‘theme’ directory)
  5. Convert to a git directory
    git init

Twentytwo Digital

General updates from the team.