Skip to content

Instantly share code, notes, and snippets.

@carlosbrando
Created November 13, 2008 16:47
Show Gist options
  • Save carlosbrando/24491 to your computer and use it in GitHub Desktop.
Save carlosbrando/24491 to your computer and use it in GitHub Desktop.
Silent method
def silent(command)
system "#{command} &> /dev/null"
end
silent "git add ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment