Skip to content

Instantly share code, notes, and snippets.

@eykanal
eykanal / setup_gitconfig.rb
Created October 31, 2011 21:32 — forked from manveru/setup_gitconfig.rb
Create basic .gitconfig file
#!/usr/bin/ruby
gitconfig = File.expand_path("~/.gitconfig")
if File.file?(gitconfig)
puts "#{gitconfig} already exists."
exit 0
end
puts('##',