0

gritを使用してプッシュしようとしていますが、以下のrmpush.pushコマンドで渡されるすべてのパラメーターを理解できません。gitremoteaddを使用してリモートエイリアスを作成しましたが、正常に機能しています。

location = 'D:\GritRepo'
repo = Grit::Repo.init(location)
rmpush = Grit::Git.new(location+'\.git')
# this works fine
repo.remote_add("remoterep","https://github.com/ahmadosama/GritRepo.git")
# need help here
rmpush.Push({:repo=>'remoterep', :remote=>'master'})
4

0 に答える 0