You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/prep/git.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,15 +4,15 @@
4
4
5
5
[Git](https://git-scm.com/) is a popular version control system that is the foundation of most open source software development. You are not required to be a Git pro in advance of this event, but come prepared to learn a lot about it! [GitHub](https://github.com) is a hosting service for Git repositories, enabling us to share code across teams in a web environment.
6
6
7
-
We will use Git and GitHub for collaborative work. Be sure to arrive at OceanHackWeek with your own [GitHub](https://github.com/) account.
7
+
We will use Git and GitHub for collaborative work. Be sure to arrive at OceanHackWeek with your own [GitHub](https://github.com) account.
8
8
9
9
## Git Installation
10
10
11
11
* Windows
12
12
* Install Git for Windows from this [link](https://gitforwindows.org/). For more setup details follow these [instructions](https://carpentries.github.io/workshop-template/#shell)
13
13
* Mac OS
14
14
* Download the [git installer](https://git-scm.com/download/mac) and run it.
15
-
* Linux (Debian): `sudo apt install git-all`
15
+
* Linux (Debian/Ubuntu): `sudo apt install git-all`
16
16
17
17
To test, open the terminal (on Windows, Git Bash) and setup your username and email:
18
18
@@ -29,7 +29,7 @@ During the hackweek it will be useful to know how to navigate between files from
29
29
30
30
## Terminal (command line) text editor
31
31
32
-
When working on the command line (the terminal or shell), it is often handy to modify file content directly from there. For that you can use a command line editor such as [nano](https://linuxize.com/post/how-to-use-nano-text-editor/). On Mac and Linux it is usually pre-installed, but for Windows you can follow the instructions in this [link](http://carpentries.github.io/workshop-template/#editor)to set it up. Test your installation by opening a terminal and running `nano --version`. If it works you can link your git configuration with `nano`:
32
+
When working on the command line (the terminal or shell), it is often handy to modify file content directly from there. For that you can use a command line editor such as [nano](https://linuxize.com/post/how-to-use-nano-text-editor/). On Mac and Linux it is usually pre-installed, and on Windows it is installed when you install Git (see [here](http://carpentries.github.io/workshop-template/#editor)for more information about nano and its configuration). Test your installation by opening a terminal and running `nano --version`. If it works you can link your git configuration with `nano`:
33
33
34
34
```bash
35
35
git config --global core.editor "nano -w"
@@ -45,7 +45,7 @@ Steps 1-5 focus on the Git "centralized workflow". We present it here as an illu
45
45
46
46
### 1. Create a project repository
47
47
48
-
On your own or someone in your project group (preferably one who has never done it before), create a repository for the project under the {OceanHackWeek organization, [https://github.com/oceanhackweek](https://github.com/oceanhackweek)
48
+
On your own or someone in your project group (preferably one who has never done it before), create a repository for the project under the `oceanhackweek` organization, `https://github.com/oceanhackweek`
49
49
50
50

51
51
@@ -58,7 +58,7 @@ Click `New` and follow the steps: check yes to create a `README.md` file.
58
58
59
59
### 2. Clone the repository
60
60
61
-
Each participant should clone the repository so they have their copy on their JupyterHub account space (and locally in the participant's computer, if desired). Navigate through the terminal to the folder where you want to keep {OceanHackWeek work (`cd path_to_oceanhackweek`).
61
+
Each participant should clone the repository so they have their copy on their JupyterHub account space (and locally in the participant's computer, if desired). Navigate through the terminal to the folder where you want to keep OceanHackWeek work (`cd path_to_oceanhackweek`).
0 commit comments