Class IconArtist::GitRepo
In: icon-artist/gitrepo.rb
Parent: Object

Methods

add   branches   checkout   clone   commit   config   in_branch   new   update   update_branches  

Public Class methods

Clone existing repository into new one

repository:path to existing repository
name:name/path to the new repository

Open git repository

options:

 :working_dir => '/path/to/git/repository'

Public Instance methods

Add files from the working directory to the git repository

Branches hash, contains :remote and :local arrays

Commit changes

message:commit message

Do some stuff within a branch then return back to the original branch

Make local repository up2date

Sync local branches with remote branches

[Validate]