Git and Linux SSH Script - lizzy9596/sys-265 GitHub Wiki

Git + Linux SSH Script

Parts

  1. Install GIT
  2. Git cloning and tokens

Install Git

To start i installed git on docker01 using `sudo apt install git-all'. After a lengthy install I was able to start cloning my github. I did need to move my repository to a separate one and add some files. After I was able to clone.

Cloning Git

I ran the command git clone https://github.com/lizzy9596/sys-265' which made a copy of my class repository. Next I needed to create a directory to organize the configuration files. Next I needed to create a personal access key. I first rangit remote -v`.

Then to get my key I:

  1. Went to user settings
  2. Clicked on developer settings
  3. Pressed tokens under Personal access tokens

I then was able to use my token with the command git remote set-url origin https://lizzy9596:[email protected]/lizzy9596/sys-265.git