Reading Notes Home
What is Git?
  - Git is the version control for files, folders and projects. Git uses local operations so you can skip the need of having history fetched from a server. It also reduces the likelihood of losing data and will track changes made to any files or directories. Files are either in a commited state, modified state or staged.
 
Using Git
To get started using Git, you can import an existing repository from GitHub through a series of commands in the terminal. The steps to this process are listed below, or check out the step by step instructions at 
Git Tutorial
Create Directory/Add Repository
  - Open terminal
 
  - Start by finding documents folder through cd documents
 
  - Continue usind cd and ls commands followed by folder names to see where you are and where you want to go to import a repository.
 
  - Add an existing repository URL from github by git clone ‘addurlhere’
 
  - OR Create folder through mkdir ‘addnamehere’
 
  - Check where you are through pwd or ls
 
  - Repeat steps 2-6 however many times necessary to complete creating directory/adding repository
 
  - Continue by code . to open VS Code and make any changes
 
The ACP Process
  - navigate through directory to target project by cd ‘filename’
 
  - example: find README.md and check status by git status
 
  - should show message in red, modified: README.md IF changes have been made and saved
 
  - A=ADD use command git add . to stage for commit
 
  - again, run git status to view README.md in green , showing it as modified and ready for commit
 
  - C=COMMIT add note of changes made to modified README.md through git commit -m “changesmade”
 
  - P=PUSH use command git push origin master
 
  - repeat step 2
 
  - should show “nothing to commit, working tree clean”
 
  - go check github, changes should show