3 ms·
Git version numbers are actually SHA1 hashes that are based on all the files and the entire history of the project up to there. If you modify the history in any
by rmc 14y ago
Git version numbers are actually SHA1 hashes that are based on all the files and the entire history of the project up to there. If you modify the history in any way, then that will be a new version number and you know something has changed.
You can optionally GPG sign a commit/tag which, again, will be invalid if any part of the history is changed.