Sunday, January 30, 2022

How can I see which files in git where changed the most times?

git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -10
Source: StackOverflow

Saturday, January 22, 2022

How to commit (and push) single folder (directory) to git?

git add directory_name
git commit -m 'Initial commit' -- directory_name
git push