anjbapat / dsi_gittingstarted

Learn the basics of using Git for managing projects, tracking changes in code, and collaborating with other coders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitting Started

Learn the basics of using Git for managing projects, tracking changes in code, and collaborating with other coders.

UNCC Data Science Initiative | By: Colby T. Ford, Ph.D.

Git from the Command Line

  1. Initialize a New Repository
  • git init <repo name>
  1. Begin Tracking a New File
  • touch tmpfile.txt
  • git add tmpfile.txt
  1. Commit Changes
  • git commit -m "add file"
  1. Connect Repo to Git Remote
  • git remote add <name> <url>
  1. Push Changes
  • git push <name>

Resources:

About

Learn the basics of using Git for managing projects, tracking changes in code, and collaborating with other coders.