See https://devcenter.heroku.com/articles/git#deploying-code
$ git push heroku yourbranch:master
More Related Contents:
- Heroku: How to push different local Git branches to Heroku/master
- git push heroku master says “Everything up-to-date”, but the app is not current
- Is there a way to cache https credentials for pushing commits?
- Git push requires username and password
- How do I properly force a Git push?
- Can’t push to GitHub because of large file which I already deleted
- What are the differences between “git commit” and “git push”?
- Git Push ERROR: Repository not found
- Cannot push to Heroku because key fingerprint
- ! [rejected] master -> master (fetch first)
- How can I automatically deploy my app after a git push ( GitHub and node.js)?
- Remote origin already exists on ‘git push’ to a new repository
- Github remote push pack size exceeded
- How do I avoid the specification of the username and password at every git push?
- Git push doesnt do anything over HTTPS
- Git push hangs when pushing to Github?
- Push to GitHub error: Couldn’t find host github.com in the .netrc file; using defaults
- Issue pushing new code in Github
- What does ‘–set-upstream’ do?
- Is there a way in git to obtain a push date for a given commit?
- Pushing from local repository to GitHub hosted remote
- Git push failed, “Non-fast forward updates were rejected”
- Pushing to github after a shallow clone
- How do I fix “remote: fatal error in commit_refs” errors trying to push with Git?
- GitHub – prevent collaborators from using push -f
- When doing a ‘git push’, what does ‘–set-upstream’ do?
- Git push error ‘[remote rejected] master -> master (branch is currently checked out)’
- What is the difference between origin and upstream on GitHub?
- How to remove sensitive data from a file in github history
- To use on Visual Studio Code, but show “Could not read from remote repository.”