“Part of the problem is that ‘git’ is such a flexible tool that you can use it in various modes, and mix things up freely. The whole distributed nature means that there’s no gatekeeper, you can do whatever you want. And the flexibility and power is good, but it does mean that it’s also easy to make a mess of it – the old UNIX philosophy of giving people rope, and letting them hang themselves with it if they want to.”
Happiness is a warm SCM
There has been about eleventy billion times I’ve done something at work on a *nix system and then a few days later wondered what/when/how/why I did it. This little tip I found goes some way to helping this eternal headache by appending a date to the entries in your .bash_history
The basic gist is you just vim your .bashrc and append the line
export HISTTIMEFORMAT=”%h/%d – %H:%M:%S “
Then exit and the next time you login all your dreams will have come true*.
The full article can be found Here
* This assumes all your dreams comprise of dates prepended to the display of each command and you haven’t killed yourself for having such a sad arse dream.