Skip to content

Files

Latest commit

 

History

History
25 lines (19 loc) · 710 Bytes

1_version_control.md

File metadata and controls

25 lines (19 loc) · 710 Bytes

Version Control

We want to be able to track changes without having multiple copies of files. We also want to be able to work with other people. Git is one of the most widely used version control tools, but others exist.

Using Basic Git

To get a local copy of a repository:

git clone https://github.com/name/of/repository.git

When making changes there are three steps add files to git tracking, commit the changes, and push the changes to the repository. You would need write permissions to push changes.

git add <filename>
git commit -m "your message here"
git push

Cheat Sheet

Next Home