'how to get number of lines changed in a PR using gh cli command
I would like to find a number of lines changed for a PR using the gh cli command. Thank you for the help in advance.
Solution 1:[1]
You can run gh pr view <pr number> --json additions,deletions
which will return something like
{
"additions": 0,
"deletions": 0
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Garrett Barlocker |
