2014-05-17 61 views
0

我想改變我的Heroku應用程序從(以前多積累包)推動混帳回購協議,但我得到的錯誤:無法覆蓋的Heroku主混帳回購協議

> git push -f heroku master 
> Fetching repository, done. Counting objects: 4111, done. Delta 
> compression using up to 8 threads. Compressing objects: 100% 
> (3868/3868), done. Writing objects: 100% (4111/4111), 39.41 MiB | 
> 579.00 KiB/s, done. Total 4111 (delta 710), reused 0 (delta 0) 
> 
> -----> Removing .DS_Store files 
> -----> Fetching custom git buildpack... done 
> 
> !  Push rejected, no Cedar-supported app detected 
> 
> To [email protected]:in2u.git ! [remote rejected] master -> master 
> (pre-receive hook declined) 

什麼奇怪的是如果heroku實際上被推入in2u.git的舊內容,但是我要告訴它從我的本地推送到heroku遠程,這個錯誤纔有意義。

在這個崗位SO似乎沒有申請:

Heroku push rejected, no Cedar-supported app detected

感謝您的幫助!

+1

什麼在您的本地存儲庫?另外請注意,「origin」與您推送的地方不一樣。 – Amber

+0

我錯過了 - 本地!感謝您的發現。我更新了這個問題。本地包含我想要推送的新應用程序文件。這不是一個自定義的buildpack(但現有的in2u.git是)。 – metalaureate

+1

也許你需要從你的heroku配置中清空'BUILDPACK_URL'設置? – Amber

回答

1

您可能需要從Heroku配置中清除BUILDPACK_URL設置,以避免它繼續拉取自定義buildpack。 Heroku的配置不是版本庫的一部分,所以只需從一個乾淨的版本庫推送就不會刪除它。

相關問題