Class: GitGed::Repo

Inherits:
Object
  • Object
show all
Defined in:
lib/git-ged/init.rb

Instance Method Summary collapse

Instance Method Details

#init(args, options = {}) ⇒ Object

Initializes a new git-ged repo



6
7
8
9
# File 'lib/git-ged/init.rb', line 6

def init(args, options={})
  system "git init -q #{args.map{|s| "\"#{s}\"" }.join(" ")}"
  GitGed.message "Created new git-ged repo"
end