Git & GitHub#
Git is a popular version control system for developers to manage and collaborate on code. It runs on the command line or Anaconda Prompt.
Terms:
Term |
Description |
---|---|
git |
A command line program used to track file changes and collaborate on code with others. |
repo |
A repository is a directory and its contents. |
local repo |
A directory and its contents on your computer that git knows about. |
remote repo |
A directory and its contents stored in the cloud that git knows about. |
Options:
Command |
Description |
---|---|
|
Copy a remote repo from GitHub.com into a local directory. |
|
Create a new local repo in the current folder. |
|
Link a local repo to a remote repo on GitHub.com. |
|
Add all files and changes to the local repo. |
|
Commit the changes in the local repo with the message “commit message”. |
|
Push local changes up to the remote repo. |
|
Pull down the version in the remote repo into the local repo. |