10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/favicon.jpeg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/git tutorial:
--------------------------------------------------------------------------------
1 | Github,Git:
2 | developer.mozilla.org
3 | Git is a version control system
4 | (Has all the versions of Linux)
5 | 1.open source
6 | 2.free
7 | 3.distributed
8 |
9 | what is a version control system ?
10 | It acts like a cloud and helps us to have a history of our edits and modifications
11 | Thus provides all the versions of a particular data.
12 | eg.Git,Mercurial,SVN,TFS (service providers)
13 |
14 | It is a software like wikipedia that provies the Source code of different versions (Open source-since it gives the source code openly to all the users)
15 | Git INSTALLATION
16 | How to create git repository?
17 | "git init" - to create a empty git repository.
18 |
19 | how to see hidden git repository?
20 | "ls -a"
21 |
22 | How to create a file in git repository?
23 | "touch filname"
24 | eg. touch names.txt
25 |
26 | How to track a file which is created in git repository?
27 | "git add filename"
28 | eg. git add names.txt
29 |
30 | If we want to track all the files in the git repository then use "git add ." and here "." refers to all the files in the git repository
31 |
32 | How to see changes made?
33 | use "git status" command
34 |
35 | how to commit a change?
36 | git commit -m "message"
37 |
38 | Lets make changes in the file now!!
39 |
40 | now lets check for the changes made using git status.
41 | eg.i have added some text on names.txt file. after saving it i am checking for the changes made,by using "cat names.txt".It shows:
42 | hey
43 | here i am making chnges in my git repository.
44 | come lets check it in terminal
45 |
46 | How to remove having track(remove from stage/commiting) of a file which is being ?
47 | "git restore --staged names.txt"
48 |
49 | How to see the entire history of changges made?
50 | "git log"
51 |
52 | How to delete a file from git repository?
53 | use "rm -rf filename" command
54 | eg. rm -rf names.txt
55 |
56 | Each commit is arranged one above the other.
57 | Hence if we want to delete a commit then,
58 | we should copy the commit value of before commit
59 | then use "git reset commit value" command
60 |
61 | eg. if we get output of "git log" as below:
62 |
63 | commit b8534e88a0315cd7c8f5d24290bdd742889bf94d (HEAD -> master)
64 | Author: Ajitha Vijayakumar
65 | Date: Sun Mar 12 17:38:19 2023 +0530
66 |
67 | names.txt file deleted
68 |
69 | commit 32945d3278d8eca812346e1e93f5f00290aa8d68
70 | Author: Ajitha Vijayakumar
71 | Date: Sun Mar 12 17:33:20 2023 +0530
72 |
73 | names.txt file modified
74 |
75 | commit f9e467da7cd591757eec5d04d4a54ad13833d139
76 | Author: Ajitha Vijayakumar
77 | Date: Sun Mar 12 12:37:13 2023 +0530
78 |
79 | names.txt file added
80 |
81 |
82 | here in above if want to delete changes that were made from
83 |
84 | commit 32945d3278d8eca812346e1e93f5f00290aa8d68
85 | Author: Ajitha Vijayakumar
86 | Date: Sun Mar 12 17:33:20 2023 +0530
87 |
88 | names.txt file modified
89 | this commit, then we should copy the commit no. below this commit and enter it in "git reset commitvalue "command. i.e,
90 | git reset f9e467da7cd591757eec5d04d4a54ad13833d139
91 |
92 | output:
93 | Unstaged changes after reset:
94 | D names.txt
95 |
96 | now give "git log" to check the status:
97 | output :
98 | commit f9e467da7cd591757eec5d04d4a54ad13833d139 (HEAD -> master)
99 | Author: Ajitha Vijayakumar
100 | Date: Sun Mar 12 12:37:13 2023 +0530
101 |
102 | names.txt file added
103 |
104 | git stash command :
105 | *it used to keep the changes made (i.e either don't want to commit or loose)
106 |
107 |
108 | How to get rid of git stash ?
109 | It can be done by giving "git stash pop" command
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
--------------------------------------------------------------------------------
/h0me.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ajitha-vijayakumar/flag/a137ab4a49b49cda203b20ff49b9a1a3be714d0c/h0me.css
--------------------------------------------------------------------------------
/home11.html:
--------------------------------------------------------------------------------
1 |