Skip to content
Snippets Groups Projects
Commit 85965de1 authored by Neil Smith's avatar Neil Smith
Browse files

Updated Readme

parent 5a186a6b
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ This class repository will serve as a launching point and resource for student p
## Git Cheat Sheet
###Install Git:
### Install Git:
Windows: https://github.com/git-for-windows/git/releases/download/v2.37.3.windows.1/Git-2.37.3-64-bit.exe
MacOS: Install homebrew if you don't already have it, then:
......@@ -25,7 +25,7 @@ MacOS: Install homebrew if you don't already have it, then:
$ brew install git
```
###Open a command line/terminal:
### Open a command line/terminal:
Windows:
Option 1: Open file explorer and navigate to your project folder and right click on it. Select Git Bash Here (If on Windows 11 first select "Show more options")
......@@ -53,13 +53,13 @@ cd Projects/SYN100
```
###Clone this project:
### Clone this project:
```
git clone https://gitlab.nrp-nautilus.io/syn100/digitally-documenting-climatic-change.git
```
###Setup your name and email for gitlab (Use the email you signed into gitlab)
### Setup your name and email for gitlab (Use the email you signed into gitlab)
```
git config --global user.name "FIRST_NAME LAST_NAME"
```
......@@ -67,13 +67,13 @@ git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.com"
```
###Find out what files you have modified or added to your local repo:
### Find out what files you have modified or added to your local repo:
```
cd digitally-documenting-climatic-change
git status
```
###Add untracked files to your local repo:
### Add untracked files to your local repo:
```
git add yournewfilename.extension
```
......@@ -82,17 +82,17 @@ You can also add a whole folder of files:
git add thefoldername
```
###Commit your changes to the local repo:
### Commit your changes to the local repo:
```
git commit -am "note about your commit"
```
###Push your changes to the remote repo on gitlab
### Push your changes to the remote repo on gitlab
```
git push
```
###Pull changes made by others to your local repo:
### Pull changes made by others to your local repo:
```
git pull
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment