Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later
Source: NeSI's Git: Reference Sheet
Command | Description |
---|---|
clone |
Copies a remote repository into the current directory |
init |
Creates a new empty repo in the current directory |
add |
Adds files to the staging area |
status |
Lists changes in the working directory, and staged files |
commit |
Records everything in the staging area to the repository |
reset |
Removes all files from staging area (opposite of add ) |
Command | Description |
---|---|
fetch |
Gets status of origin |
pull |
Incorporates changes from origin into local repo |
push |
Incorporates changes from local repo into origin |
hello-world.ipynb
, using for example, Colab or Codespaceprint
statement to print your full namebug-in-the-code.ipynb
, using for example, Colab or Codespace