🖥️
Introduction to Git and GitHub
  • Getting Started
  • Background
    • What is Version Control?
    • What is Git?
    • How do I use Git with GitHub?
  • Set Up
    • Install Git
    • Create a GitHub Account
  • Repository
    • Introduction
    • Create Repository
    • Cloning Repository
  • Git Commands
    • Introduction
    • git status, git add, git commit, git push
    • git pull
  • Conclusion
  • Extra Resources
  • Original Documentation
Powered by GitBook
On this page

Was this helpful?

  1. Repository

Introduction

This section will explain how to create a repository that will be found both on your account on github and on your local computer. There are two methods; the first starts on github.com and clones the repository onto your local computer. The second method takes a folder on your local computer, makes it a repository, and pushes the repository to your github account. We will only be showing how to do the first method because it is the most common, but it is good to be aware that there are different ways of creating repositories.

Later in this section, we will begin using the terminal. The only command that I use besides the git commands is "cd", meaning "change directories." "cd" changes the directory your terminal is currently looking into. If you want to check what files can be found in the location your terminal is currently viewing, type "ls". These commands may only be native to Mac computers, so if you have Windows or a Linux computer you many need to do some Google searching on what your commands are for your terminal.

PreviousCreate a GitHub AccountNextCreate Repository

Last updated 4 years ago

Was this helpful?