Skip to content

How to get contributor history and contributors in branch #60647

Discussion options

You must be logged in to vote
  1. Set up a Server: Choose a server-side technology stack such as Node.js with Express, Python with Flask/Django, or any other language/framework you're comfortable with. This will serve as the backend for your website.

  2. Execute Git Commands: In your server-side code, use the appropriate functions or libraries to execute the Git commands programmatically. For example, you can use child_process module in Node.js or subprocess module in Python to execute shell commands.

  3. Capture Command Output: After executing the Git commands, capture the output from the command execution. You can capture the output as a string or parse it into structured data as per your requirements. Make sure to handle…

Replies: 1 comment 3 replies

This comment was marked as spam.

@salah-elraies
Comment options

@nirav-gajera

This comment was marked as spam.

@salah-elraies
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API and Webhooks Discussions and conversations related to APIs or Webhooks Question
2 participants