File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : fun git procedure
3+ description : see history of git and what it actually means.
4+ date : 2025-04-05
5+ draft: false
6+ toc : true
7+ ShowLastmod : true
8+ ---
9+ ## fun git procedure
10+
11+ clone the git repo (might take a While)
12+
13+ ``` bash
14+ git clone https://github.com/git/git.git
15+ ```
16+
17+ get into it and check it out. it the same one on the [ git on Github] ( https://github.com/git/git )
18+
19+ ``` bash
20+ cd git
21+ ls
22+ ```
23+
24+ see the most important commits or the starting points of git
25+
26+ ``` bash
27+ git rev-list --max-parents=0 HEAD
28+ ```
29+
30+ get the last one witch is actually the first one and checkout that commit
31+
32+ ``` bash
33+ git checkout e83c5163316f89bfbde7d9ab23ca2e25604af290
34+ ```
35+
36+ and see its legendary message from [ Linus Torvalds] ( https://en.wikipedia.org/wiki/Linus_Torvalds ) the creator of Linux kernel and git from 2005
37+
38+ ``` bash
39+ git log
40+ ```
41+
42+ also see how small the project was back in a day and quick look at the README.md file and observe what creator describes his creation as
43+
44+ ``` bash
45+ notepad README.md
46+ ```
47+
48+ or just ` cat ` it on Linux or ` nano `
You can’t perform that action at this time.
0 commit comments