├── chapter4.txt ├── chapter_3.txt ├── chapter_1.txt └── chapter_2.txt /chapter4.txt: -------------------------------------------------------------------------------- 1 | bloodlust argggggggg -------------------------------------------------------------------------------- /chapter_3.txt: -------------------------------------------------------------------------------- 1 | How r u 2 | 3 | aliensss 4 | -------------------------------------------------------------------------------- /chapter_1.txt: -------------------------------------------------------------------------------- 1 | It's Chapter 1 2 | Bruh aaaaaaaaaaa 3 | pc 4 | car 5 | blr 6 | -------------------------------------------------------------------------------- /chapter_2.txt: -------------------------------------------------------------------------------- 1 | Hello there 2 | 3 | git init - to initialize 4 | 5 | ls -a - to list all folders and files including hidden ones 6 | 7 | git add "filename" - The git add command adds a change in the working directory to the staging area. 8 | It tells Git that you want to include updates to a particular file in the next commit. 9 | 10 | git status - displays the state of the working directory and the staging area. 11 | 12 | git log - displays committed snapshots. 13 | 14 | git commit -m "message to be written" 15 | 16 | git diff "fileName" - takes two input data sets and outputs the changes between them 17 | 18 | diff --git a/chapter_2.txt b/chapter_2.txt 19 | index d6613f5..6815f4e 100644 20 | --- a/chapter_2.txt 21 | +++ b/chapter_2.txt 22 | @@ -1 +1,2 @@ 23 | -Hello there 24 | -Hello there 25 | -Hello there 26 | +omg thats not fair 27 | 28 | aliens 29 | 30 | git checkout "filename" - reverts the file to previous version 31 | 32 | git remote add origin https://github.com/Ashwin-K-pixel/Story.git - creats a remote repositary 33 | 34 | 35 | --------------------------------------------------------------------------------