Retrieving a file version (git commit & tag) based on its hash
Today, I did some tests on a server where an old version of our project was deployed. At some point, I needed to identify which version of the code was there, and I wrote a pretty shell function to figure this out. Yeah, I know what your thinking : there must …
Read More