Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshitha authored Dec 12, 2019
1 parent d27c7b4 commit cfec3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session_2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ git log
* `random1.txt`, `random2.txt` and `random3.txt` without typing the filenames individually. (HINT: Use wildcards)
* `dontCare` directory
5. `git status` to verify if all the files listed above are ignored. If yes, add and commit the `.gitignore` file.
6. Inside the `dontCare/` directory, create a new file named `random4.txt` and make sure it's being tracked. (HINT: It won't be tracked since the folder `dontCare/` is in `.gitignore`) How do you track only `random4.txt`? Try to google it or ask one of us. You might find some help here too: https://swcarpentry.github.io/git-novice/06-ignore/index.html
6. Inside the `dontCare/` directory, create a new file named `random5.txt` and make sure it's being tracked. (HINT: It won't be tracked since the folder `dontCare/` is in `.gitignore`) How do you track only `random5.txt`? Try to google it or ask one of us. You might find some help here too: https://swcarpentry.github.io/git-novice/06-ignore/index.html
7. Create a chain of commits. Make some trivial edits to the `even.R` create a chain of commits so that you can later use to go and back forth in the commit history.
8. Revert back to the original `even.R` code without any of the edits you made. Looks as follows:
```r
Expand Down

0 comments on commit cfec3e7

Please sign in to comment.