Git 查看当前的 commit id
查看当前的 commit full id
git rev-parse HEAD
f6df326981223b85a6b4837e3359643e5ddc5ecf
查看当前的 commit id 的短标签
# 长度值可以自行修改(7 与 GitHub 的长度一致)
git rev-parse --short=7 HEAD
查看 commit id 对应的 commit message
git log --pretty=oneline
efe8affb84e75df96c986ed6c577c9db9b18d33c build(deps): bump docker/setup-buildx-action from 1 to 2 (#256)
303f7efa750c95b41f0ef9a87f624c0d14f5ea52 build(deps): bump docker/login-action from 1 to 2 (#257)
3861b35496a94e96cb6cde44103ab6f1cafacb46 build(deps): bump docker/setup-qemu-action from 1 to 2 (#258)
568f89e24f7e6cf49a97e85049526ce6e8fd5043 build(deps): bump docker/build-push-action from 2 to 3 (#259)