132
"The Git Commands I Run Before Reading Any Code"
(piechowski.io)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
They're bash/shell- and bin-dependent commands rather than Git commands. I use Nushell.
Transformed to Nushell commands:
git log --format=format: --name-only --since="1 year ago" | lines | str trim | where (is-not-empty) | uniq --count | sort-by count --reverse | take 20git shortlog -sn --no-mergesgit shortlog -sn --no-merges --since="6 months ago"git log -i -E --grep="fix|bug|broken" --name-only --format='' | lines | str trim | where (is-not-empty) | uniq --count | sort-by count --reverse | take 20git log --format='%ad' --date=format:'%Y-%m' | lines | str trim | where (is-not-empty) | uniq --countgit log --oneline --since="1 year ago" | find --ignore-case --regex 'revert|hotfix|emergency|rollback'/edit: Looks like the lines have whitespace or sth. Replaced
lines --skip-emptywithlines | str trim | where (is-not-empty).command aliases