Created
November 7, 2012 15:44
-
-
Save kenmickles/4032351 to your computer and use it in GitHub Desktop.
Useful shell commands that I'll never remember
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tail log file with timestamp | |
tail -f log/production.log | awk '{now=strftime("%F %T%z\t");sub(/^/, now);print}' | grep something | |
# determine when a git branch was created | |
git show --summary `git merge-base new_map master` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment