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

Git 1.7 compatibility for publish #19

Open
mgraham opened this issue Apr 18, 2014 · 0 comments
Open

Git 1.7 compatibility for publish #19

mgraham opened this issue Apr 18, 2014 · 0 comments

Comments

@mgraham
Copy link

mgraham commented Apr 18, 2014

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}"',

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant