> Problem:
When issuing command;
$ git push heroku maste
error: src refspec maste does not match any.
error: failed to push some refs to 'https://git.heroku.com/myapp-job.git'
$ git push heroku maste
error: src refspec maste does not match any.
error: failed to push some refs to 'https://git.heroku.com/myapp-job.git'
> Resolution:
$ git push heroku HEAD:master
$ git push heroku HEAD:master
$ git push heroku maste
error: src refspec maste does not match any.
error: failed to push some refs to 'https://git.heroku.com/myapp-job.git'
$ git show-ref
830920a24c2c3edbccf9b132a976bf8c72463dc0 refs/heads/master
$ git remote -v
heroku https://git.heroku.com/myapp-job.git (fetch)
heroku https://git.heroku.com/myapp-job.git (push)
$ git push heroku HEAD:master
Counting objects: 11, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 6.90 KiB | 0 bytes/s, done.
Total 11 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.15.1
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
error: src refspec maste does not match any.
error: failed to push some refs to 'https://git.heroku.com/myapp-job.git'
$ git show-ref
830920a24c2c3edbccf9b132a976bf8c72463dc0 refs/heads/master
$ git remote -v
heroku https://git.heroku.com/myapp-job.git (fetch)
heroku https://git.heroku.com/myapp-job.git (push)
$ git push heroku HEAD:master
Counting objects: 11, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 6.90 KiB | 0 bytes/s, done.
Total 11 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rack
remote: -----> Using Ruby version: ruby-2.2.6
remote: -----> Installing dependencies using bundler 1.15.1
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
thanks.....it is really helpful
ReplyDelete