How to Find the Current Git Head Version
To get the current Git HEAD version, you can run the following command in your Git repository:
git rev-parse HEAD
This command will output the SHA-1 hash of the current HEAD commit. This hash uniquely identifies the current version of your repository.
原文地址: https://www.cveoy.top/t/topic/nlcL 著作权归作者所有。请勿转载和采集!