I am pulling the commit information using GitHub Enterprise API. Sample API command is
"curl -i -H 'Authorization: token XXXXX' https://git.xxxx.com/api/v3/repos/DataPortal/search-service/commits?page=1&per_page=100 "
Is there any way to get the total commit count in a command? Right now I am trying to iterate per page but for repos with huge number of commits, git is resetting the connection.