Introduction to Git
George Boorman
Curriculum Manager
Git commits have three parts:
Commit
Tree
Last commit: b22eb75a82a68b9c0f1c45b9f5a9b7abe281683a
Pseudo-random number generator—hash function
Hashes allow data sharing between repos
git log
commit ad8accfe94cb924444c488132bdef7c54b9bca68
Author: Rep Loop <[email protected]>
Date: Wed Jul 24 07:48:27 2022 +0000
Added reminder to cite funding sources.
:
space
to show more recent commitsq
to quit the log and return to the terminalIntroduction to Git