JonnyBGod / grunt-push-release

Bump package version, create tag, commit, push...
MIT License
12 stars 10 forks source link

push crashes if you are on a branche other than master and master cannot be pushed #6

Open mathieucarbou opened 11 years ago

mathieucarbou commented 11 years ago

I am on a stable branch, which is cleaned, has no commit and local changes.

Running "push:minor" (push) task

Version bumped to 0.7.0 Added files: "." Committed as "Release v0.7.0" Tagged as "v0.7.0" Fatal error: Can not push to origin: To git@github.com:guestful/tuango-web.git d42707b..8e59531 stable -> stable ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'git@github.com:guestful/tuango-web.git' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes (e.g. 'git pull') before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details.