Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.08 KB

HowTo - Git - Starting a Repository.md

File metadata and controls

40 lines (29 loc) · 1.08 KB

HowTo - Git - Starting a Repository

REF.: Git Book - 2.1 Git Basics - Getting a Git Repository


Preparations

Initializing a Local Directory

  1. Create and/or go to the project directory.

  2. # Make current folder a git repository
    git init
  3. # Add the files you want to track changes
    git add *.py
    git add LICENSE 
  4. git commit -m "Initial commit" 

Cloning an Existing Repository

git clone https://path-to/the-project.git
# or use a different name
git clone https://path-to/the-project.git myVersion