Skip to content

Instantly share code, notes, and snippets.

@jimryan
Created June 28, 2013 18:54

Revisions

  1. jimryan renamed this gist Jun 28, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. jimryan created this gist Jun 28, 2013.
    4 changes: 4 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    # Set New Relic user to git user name if it's set
    `git config --global user.name`.strip.tap do |user|
    set(:newrelic_user, user) unless user.empty?
    end