How many commits were made in the last week?

Count the number of commits made in the last week in a Git repository.

Run this query

To run this query, you can use the following command:

anyquery run how_many_commits_were_made_in_the_last_week <repository>

Arguments

Repository Path

The path to the local or remote Git repository

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.