Skip to content

Instantly share code, notes, and snippets.

View KostyaTretyak's full-sized avatar

Костя Третяк KostyaTretyak

View GitHub Profile
@KostyaTretyak
KostyaTretyak / count-lines-in-ts.sh
Last active March 15, 2024 18:55
Count lines of code in *.ts files
find path/to/directory -name '*.ts' -not -name '*.spec.ts' | xargs wc -l
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
git remote prune origin