How to get the last commit ID of a remote repo using curl-like command?

前端 未结 6 862
我寻月下人不归
我寻月下人不归 2020-12-12 19:38

I want to get the last commit ID of the remote git repo.

The command git rev-parse HEAD works for a locally-cloned git repo, but I want

6条回答
提交回复
热议问题