Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submodule strategy fails #98

Open
lightheaded opened this issue Sep 4, 2015 · 0 comments
Open

Submodule strategy fails #98

lightheaded opened this issue Sep 4, 2015 · 0 comments

Comments

@lightheaded
Copy link

I have a submodule build initialized at the root of my dir and I'm trying to deploy with this conf

activate :deploy do |deploy|
  deploy.method   = :git
  deploy.strategy = :submodule
  deploy.remote   = 'origin'
  deploy.branch   = 'master'
end

And the output is

## Deploying via git to remote="origin" and branch="master"
Already on 'master'
No stash found.
Can't deploy! Please resolve conflicts. Then process to manual commit and push on master branch.

If I look at the source, I see that stashes are involved. What exactly is stash used for? If I have previously updated everything and root and submodule repos are clean then there is nothing to stash and pop. Am I right or I'm getting something fundamentally wrong?

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

No branches or pull requests

1 participant