Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 1.29 KB

1_Terminal_GettingStarted.md

File metadata and controls

35 lines (19 loc) · 1.29 KB

Getting Start With Git Using Terminal

Purpose: Become familiar with Git commands in the Terminal

Task: Clone a repository, modify a file, add and push changes

Outcome: Understanding how to use git to get files and publish changes

Setting up Git on your computer

Before you can do anything, you'll need to make an SSH key and add it to your GitHub account. That way you'll be able to push changes.

Creating SSH Key and Add it to GitHub -> Start Here

Cloning a Repo

Here I am navigating to a test file to practice making a change: Screenshot from 2021-12-03 14-21-23

Modify the File

Here I am modifing the file (just in my terminal editor because this is a .txt, we would use and IDE for actual code) Screenshot from 2021-12-03 14-42-00

"Save" Changes

Now I am staging my changes with the git add command so I can then commit and push them Screenshot from 2021-12-03 14-43-02

Push Changes

Finally, on Github we can see that my changes successfully pushed and can be viewed by others! Screenshot from 2021-12-03 14-50-17