This shows you the differences between two versions of the page.
ii:labs:05:tasks:01 [2025/01/11 20:05] florin.stancu |
ii:labs:05:tasks:01 [2025/07/14 00:00] (current) radu.mantu |
||
---|---|---|---|
Line 3: | Line 3: | ||
When looking at the ''git log'' of a repository, you would normally see a sequence of entries such as this: | When looking at the ''git log'' of a repository, you would normally see a sequence of entries such as this: | ||
- | [[https://ocw.cs.pub.ro/courses/_media/ii/labs/05/tasks/git_log.png|{{ :ii:labs:05:git_log.png?700 |}}]] | + | {{ :ii:labs:05:git_log.png?700 |}} |
Each commit is identified via a 40-character long **hexstring**. A hexstring is the hexadecimal representation of a sequence of bytes, where every nibble (i.e.: 4 bits) is represented by a character ranging from //'0'// (= 0b0000) to //'F'// (= 0b1111). But how is this identifier calculated? | Each commit is identified via a 40-character long **hexstring**. A hexstring is the hexadecimal representation of a sequence of bytes, where every nibble (i.e.: 4 bits) is represented by a character ranging from //'0'// (= 0b0000) to //'F'// (= 0b1111). But how is this identifier calculated? |