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: content/git/version-control.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Version Control
2
2
3
+
````{note}
4
+
To follow along, you will need to install `git` on your computer.
5
+
You can follow the instructions from the [Software Carpentry lessons](https://carpentries.github.io/workshop-template/install_instructions/#git). In particular, for:
6
+
7
+
* Windows: use [git for Windows](https://gitforwindows.org/)
8
+
9
+
* Mac: in a teminal, do:
10
+
11
+
```
12
+
git --version
13
+
```
14
+
15
+
If it is not already installed, it will prompt you for installation.
16
+
17
+
* Linux: it is probably already installed, but otherwise, use your
18
+
package manager.
19
+
````
20
+
3
21
## Why use version control?
4
22
5
23
When we develop code, we are going to be making lots of changes over
@@ -13,7 +31,7 @@ time. And you will find yourself in the following situations:
13
31
**Your research group is all working on the same code* and you need to sync up with
14
32
everyone's changes and make sure that no one breaks the code.
15
33
16
-
This is what version control does for us.
34
+
This is what [version control](https://en.wikipedia.org/wiki/Version_control) does for us.
0 commit comments