-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
step1-git
44 lines (33 loc) · 2.64 KB
/
step1-git
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.------------------------------------------------------------------------------.
| .mmMMMMMMMMMMMMMmm. |
| .mMMMMMMMMMMMMMMMMMMMMMMMm. |
| .mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMm. |
| .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. |
| .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM. |
| MMMMMMMM' `"MMMMM"""""""MMMM""` 'MMMMMMMM |
| MMMMMMMMM MMMMMMMMM |
| MMMMMMMMMM: :MMMMMMMMMM |
| .MMMMMMMMMM MMMMMMMMMM. |
| MMMMMMMMM" "MMMMMMMMM |
| MMMMMMMMM MMMMMMMMM |
| MMMMMMMMM MMMMMMMMM |
| MMMMMMMMMM MMMMMMMMMM |
| `MMMMMMMMMM MMMMMMMMMM` |
| MMMMMMMMMMMM. .MMMMMMMMMMMM |
| MMMMMM MMMMMMMMMM MMMMMMMMMMMMMMMMMM |
| MMMMMM 'MMMMMMM MMMMMMMMMMMMMMMM |
| `MMMMMM "MMMMM MMMMMMMMMMMMMM` |
| `MMMMMm MMMMMMMMMMMM` |
| `"MMMMMMMMM MMMMMMMMM"` |
| `"MMMMMM MMMMMM"` |
| `""M M""` |
'------------------------------------------------------------------------------'
Reference: ./detective_handbook/step1-git.md
A good detective always backs up their case files. You never know when an 'accident' will befall a filing cabinet whilst someone is under investigation...
To push (upload) your 'clues.txt' file to Github, first "add" the file using `git add`.
############ Challenge ###############
Is there a git command to view what changes you've made in your repository?
How can you tell what changes are going to be added to the next commit?
######################################
Commit your changes using `git commit`. Don't forget to write a meaningful commit message (you'll thank yourself in future)!
Now push the commit you've just made to Github using `git push`. All done! Read 'step2' to see what comes next.