Show HN: Git-fired tells you who was fired / added based on Git log
github.comCool idea —- also makes me realize that if GitHub can see commit history of all repos, then Microsoft has a lot of partly identified info on personnel movement across teams within lots of companies and also across companies
Or just look at the members/permissions within GitHub orgs, rather than needing to look at commits.
When you consider they also own LinkedIn and Office 365 email then I imagine they have a very clear picture.
It tells you what new names existed or old names removed in your commit log during the specified periods. Suppport comparing based on name+email or name only. Support recursively looping through all subdirectries.
Sample usage:
# git-fired 2021/06/01 2021/05/01 -single
# git-fired 2021/06/01 2021/05/01 -multi
# git-fired 2021/06/01 2021/05/01 -single -name
# git-fired 2021/06/01 2021/05/01 -single -name
compares the commit log of the current repo (-single) or all git repos under current directory (-multi) during 2021/05/01 to 2021/06/01 and 2021/06/01 to now, by default compares using name+email, pass -name to compare using name only.
Consider extending this to identify heavy churn or lack thereof. Repeated short tenures in an org is useful signal.
how about those that leave a company without being fired?
Yeah, the idea that if you leave, you must have been fired is pretty out there. More people quit than are fired in pretty much every month except when there is a big recession. The BLS tracks this in it's JOLTS time series https://www.bls.gov/jlt/
Currently, the quit rate is 2.4% and the layoff rate is 1%, and the quit rate is almost always roughly double the layoff rate.
Yup, other cases: people move to different groups/projects, take a long leave, take parental leave, etc. There were many cases where they will disappear from a single repo.
Just wait until you hear about git blame
it's just a pithy name
Gotta get the upvotes. People are not interested is git “left the company”
just create an alias for `git turnover`
Problem with this is that git identities aren't unique. If I do a quick commit from another machine it will likely have garbage for the name and email based on GECOS and the hostname.
Add a .mailmap