|
|
@ -54,6 +54,7 @@ module GitHelper
|
|
|
|
|
|
|
|
|
|
|
|
# 添加目录
|
|
|
|
# 添加目录
|
|
|
|
def git_add_folder(repo_path, tree_path, author_name, author_email, message)
|
|
|
|
def git_add_folder(repo_path, tree_path, author_name, author_email, message)
|
|
|
|
|
|
|
|
Rails.logger.info("#####repo_path:#{repo_path}, tree_path: #{tree_path}")
|
|
|
|
GitService.add_tree(repo_path: repo_path, tree_path: tree_path, message: message, author_name: author_name,
|
|
|
|
GitService.add_tree(repo_path: repo_path, tree_path: tree_path, message: message, author_name: author_name,
|
|
|
|
author_email: author_email)
|
|
|
|
author_email: author_email)
|
|
|
|
end
|
|
|
|
end
|
|
|
|