As usual and expected, I keep accidentally learning things at work that are sort of a mind-blowing to me. The last one happened in a meeting in which a dev had to send over the changes they did in a file to some other dev in the call and I was intrigued to see that they ran a
git diff command and
piped the output to a file. I couldn't guess what they would do with the file, which was named
Then they said: "Just take this file and run a
git apply on it and you're done".
The other dev replied: "Just like old times..."
I just observed while my mind was ...
The thing is that I study Git a lot and I knew that devs used to share files via email whenever they wanted to share changes with the team, but it was just surprising to see that the output of a
git diff could be used like that.
With that, I was wondering what similar stories people have to share and whether they wished that's how things would be done nowadays or not.
Junior developers, especially those that is fresh out of college, can be challenging to manage. In my short experience as an engineering/team manager, I'd like to learn the best practices that the community has experienced. Junior developers, we want to listen to your plights as well.