diff options
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r-- | lib/gitlab_projects.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index d1a402a..bc98e09 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -50,8 +50,6 @@ class GitlabProjects def exec case @command - when 'create-branch'; create_branch - when 'rm-branch'; rm_branch when 'create-tag'; create_tag when 'add-project'; add_project when 'list-projects'; puts list_projects @@ -114,19 +112,6 @@ class GitlabProjects end end - def create_branch - branch_name = ARGV.shift - ref = ARGV.shift || "HEAD" - cmd = %W(git --git-dir=#{full_path} branch -- #{branch_name} #{ref}) - system(*cmd) - end - - def rm_branch - branch_name = ARGV.shift - cmd = %W(git --git-dir=#{full_path} branch -D -- #{branch_name}) - system(*cmd) - end - def create_tag tag_name = ARGV.shift ref = ARGV.shift || "HEAD" |