Skip to content

Instantly share code, notes, and snippets.

@tybenz
Created June 21, 2013 20:08
Show Gist options
  • Save tybenz/5833949 to your computer and use it in GitHub Desktop.
Save tybenz/5833949 to your computer and use it in GitHub Desktop.
Make a commit with previous commit message plus "for real"
#!/bin/bash
message="`git log --pretty=%B -1` - for real"
git commit -m "$message"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment