Commands to get commit statistics for a Git repository from the command line -
using git log
, git shortlog
and friends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
NOTES: | |
1. This script export *completed* pull requests and their comments while ignoring active/abandon pull requests | |
2. Pull request description is truncated after 400 symbols, as per Azure DevOps API documentation. | |
3. Linked Work Items are not exported. | |
4. The script uses Azure CLI to get the access token. It is also possible to use PAT from Azure DevOps. | |
#> | |
param ( | |
[Parameter(Mandatory=$true)][ValidateNotNullOrEmpty()] $OrganizationName, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
namespace ConsoleApp3 | |
{ | |
static class Test | |
{ | |
private static readonly object Locker = new object(); | |
static Test() |