Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/ruby
- raw = `git log | head -n 1`
- git_strings = raw.split(' ')
- p git_strings[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement