To check if the last commit is to the master using git rest api
I could fetch all the branch details using Git Rest api https://github.xxx.com/api/v3/repos/RepoName/ProjectName/branches/BranchName
I want to understand whether this particular branch is merged with master or not.
When I hit the URL above, I get JSON data.. Under the "commit"->"Message" I can identify whether the branch is merged to master or not.
Is there any other identity in the JSON data to find whether the branch is merged with master or not??
链接地址: http://www.djcxy.com/p/26070.html上一篇: 合并后如何处理分支