Lines
- Lines of Code
- 5,133,026
- in 22,374 files
- Lines Added
- +15,181,576
- 132 per commit
- Lines Removed
- −9,714,270
- 84 per commit
Lines of code
Over time: the lines every commit added and removed, in every file. That ends at 5,467,306, where the lines of code above, 5,133,026, leave out vendored and generated files, text that is not code (artwork, certificates, data) and the extensions excluded in gitstats.conf.
Chart not shown: it is drawn with JavaScript, which is turned off or blocked on this page, as it is on Jenkins by default. How to show the charts
Lines added and removed per month
Lines added (green, up) and removed (red, down) by each month's commits.
Chart not shown: it is drawn with JavaScript, which is turned off or blocked on this page, as it is on Jenkins by default. How to show the charts
How PyTorch compares with other open source AI and machine learning projects →
How PyTorch ranks among open source AI and machine learning projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true