Ask for Help
“Recommendations for stripping blank lines before and after a block of text?”
- In Ruby,
"a string".stripwill do it. - Regex recommendations?
Interesting Things
If you need to change the author on your git commit message, use
git commit --amend --author=username
See the Trimming Whitespace header.
http://www.regular-expressions.info/examples.html
December 2, 2010 at 12:38 pm
You can also use –reset-author on an amend which will use your currently configured author which is handy when you forget to git pair appropriately.
December 8, 2010 at 8:21 am