lib/gitx/cli/integrate_command.rb in gitx-2.20.0 vs lib/gitx/cli/integrate_command.rb in gitx-2.21.0.ci.121.1
- old
+ new
@@ -83,10 +83,10 @@
def remote_branch_exists?(target_branch)
repo.branches.each_name(:remote).include?("origin/#{target_branch}")
end
def create_remote_branch(target_branch)
- repo.create_branch(target_branch, Gitx::BASE_BRANCH)
+ repo.create_branch(target_branch, config.base_branch)
run_cmd "git push origin #{target_branch}:#{target_branch}"
end
end
end
end