Git Reference
March 21, 2018
Undo The Last Commit
$ git reset --soft HEAD^
Adventures in software
March 21, 2018
I'm using HSQLDB for a configuration database during a JUnit test run and I was having trouble with multiple tests trying to insert the same configuration. What I needed to do was only insert
into the database if the row didn't already exist, and if it did, then I should …
March 21, 2018
I wasn't aware of using set
in a bash script until I came across it today.
You can use it to stop a bash script as soon as a script returns a non zero (ie not success) result, with the -e flag.
Given the following …