• Igor Drozdov's avatar
    Rename default_branch_or_master to default_branch_or_main · 4c9cae31
    Igor Drozdov authored
    Let's rename the method and return `main` when default branch
    is not set.
    
    In most cases it shouldn't change the product behavior, but
    in the cases when a project is empty `main` will be created
    by default instead of `master` if for some action a branch
    is required.
    4c9cae31
projects.rb 15.1 KB