projects
/
feedcatcher.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated README.rdoc again
[feedcatcher.git]
/
vendor
/
rails
/
railties
/
lib
/
rails_generator
/
generators
/
applications
/
app
/
scm
/
git.rb
1
module
Rails
2
class
Git
<
Scm
3
def self
.
clone
(
repos
,
branch
=
nil
)
4
`git clone #{repos}`
5
6
if
branch
7
`cd #{repos.split('/').last}/`
8
`git checkout #{branch}`
9
end
10
end
11
12
def self
.
run
(
command
)
13
`git #{command}`
14
end
15
end
16
end