Git and Linux SSH Script - lizzy9596/sys-265 GitHub Wiki
Git + Linux SSH Script
Parts
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 ran
git remote -v`.
Then to get my key I:
- Went to user settings
- Clicked on developer settings
- 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