Skip to content
This repository was archived by the owner on May 1, 2018. It is now read-only.
This repository was archived by the owner on May 1, 2018. It is now read-only.

Git 1.7 compatibility for publish #19

@mgraham

Description

@mgraham

grb publish doesn't work on git 1.7.x.

For git 1.8.x the command for setting the upstream branch of a local branch is:
'"#{GIT} branch -u #{origin}/#{branch_name} #{branch_name}"',

But for git 1.7.x, the command is:
'"#{GIT} branch --set-upstream #{branch_name} #{origin}/#{branch_name}"',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions