Skip to content

Commit fe2c64e

Browse files
Add source control.
1 parent 41017f3 commit fe2c64e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@ Of note:
5959
* `src` contains our TypeScript and CSS code. `index.tsx` is the entry-point for our file, and is mandatory.
6060
* `images.d.ts` will tell TypeScript that we're certain types of image files, which create-react-app supports.
6161

62+
# Setting up source control
63+
64+
Our testing tool, Jest, expects some form of source control (such as Git or Mercurial) to be present.
65+
For it to run correctly, we'll need to initialize a git repository.
66+
67+
```sh
68+
git init
69+
git add .
70+
git commit -m "Initial commit."
71+
```
72+
6273
# Running the project
6374

6475
Running the project is as simple as running

0 commit comments

Comments
 (0)