Skip to content

Commit b6934da

Browse files
Add files via upload
1 parent b14900f commit b6934da

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

fun git procedure.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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`

0 commit comments

Comments
 (0)