Windows GIT Repository Connection

  1. Start your windows machine

  2. Download and install GIT from: https://git-scm.com/download/winarrow-up-right

  1. Make sure you have Git Bash checked during installation:

  1. Continue with the default selections

  2. Launch Git Bash

  3. Type pwd to see current directory

  1. Go to your Git repo

  1. Copy and paste the url and clone it using git clone

  1. Go to your new directory

  • cd SYS-320-Automationg-and-Scripting/

  • mkdir week1

  • touch firstfile.ps1

  • nano.exe firefile.ps1

  • cat firstfile.ps1

  • git commit -m "commit message"

  • Git add the file

  • Verify your identity.

  • cd to the main directory

  • Git commit -m "message"

  • Get push and then -->

  • you should get a sign in pop up

  • Make a classic token on GitHub with the following settings:

  • put the token in the Git pop-up in the VM.

  • git push

Last updated