{ }

Check the result, not the config: how git-wrong-email works

git-wrong-email is a shell script that refuses to let a commit with the wrong email leave the machine. Why the hook that matters most is pre-push, what it costs to install a global hook without switching off every repo's own hooks, and what it still misses.

{ }

Revisar el resultado, no la configuración: cómo funciona git-wrong-email

git-wrong-email es un script de shell que se niega a dejar salir un commit con el correo equivocado. Por qué el hook que más importa es el de pre-push, qué cuesta instalar un hook global sin apagar los hooks de cada repo, y qué casos todavía se le escapan.

{ }

A client's email on my personal repo: why git-wrong-email exists

One day my personal projects started signing commits with the email of the client I work for instead of mine. A GUI git client had rewritten my global config, and nothing warned me.

{ }

El correo de un cliente en mi repo personal: por qué existe git-wrong-email

Un día mis proyectos personales empezaron a firmar los commits con el correo del cliente para el que trabajo, en lugar del mío. Un cliente gráfico de git había reescrito mi configuración global, y nada me avisó.

What did I do this week? One command to answer it

What did I do this week? One command to answer it

I work on several machines, and some of them aren't mine. At the end of the week I need to know what I did on each one, and the answer was spread across dozens of repositories. didwhat is a command that gets it in one step, with nothing to install but a binary.

¿Qué hice esta semana? Un comando para responderlo

¿Qué hice esta semana? Un comando para responderlo

Trabajo en varias computadoras y algunas no son mías. Al final de la semana necesito saber qué hice en cada una, y la respuesta estaba repartida en decenas de repos. didwhat es un comando que la saca en un solo paso, sin instalar nada más que un binario.