Ask Your Question
4

What is the Git command used to obtain the IDs of active merge requests?

asked 2022-08-19 11:00:00 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-01-06 11:00:00 +0000

nofretete gravatar image

There is no specific Git command to obtain the IDs of active merge requests. The concept of merge requests or pull requests is typically specific to Git hosting platforms such as GitHub, GitLab, or Bitbucket. The exact method for obtaining the IDs of active merge requests will depend on the hosting platform being used. For example, on GitHub, you can use the following API endpoint to get a list of all open pull requests for a repository:

GET /repos/:owner/:repo/pulls

On GitLab, you can use the following API endpoint:

GET /projects/:id/merge_requests?state=opened

Overall, the method for obtaining merge request IDs will depend on the specifics of the hosting platform being used.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-08-19 11:00:00 +0000

Seen: 8 times

Last updated: Jan 06 '22