Skip to content

colbyford/dsi_gittingstarted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>
  1. To Create a Branch -git branch <branchname> 7.To change the directory from Branch to master -git checkout master

Resources:

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors