2013-11-10 24 views

risposta

16

è ancora necessario il repository github.

git remote add heroku {heroku repository path} 

aggiungerà un altro repository remoto al vostro codice, poi

git remote 

elencherà tutti i telecomandi, probabilmente

-- origin 
-- heroku 

e poi

git push {remote name} {branch name} 

spingerà t o il telecomando appropriato:

git push heroku master 

inizierà la distribuzione

git push origin 

o probabilmente solo

git push 

spingerà le modifiche solo su github

+0

vorrei chiarire su cosa fare se l'app Heroku esiste già (come presume la tua risposta), o se devi ancora crearla. In quest'ultimo caso, 'heroku create' aggiungerà il telecomando' heroku' per loro. – catsby

+0

Grazie! E benvenuto su StackOverflow! – Kevin

+0

Perfetta spiegazione, grazie. – nerdburn

Problemi correlati