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

Heroku: Add heroku remote to your git process #19

Open
wrburgess opened this issue May 8, 2013 · 0 comments
Open

Heroku: Add heroku remote to your git process #19

wrburgess opened this issue May 8, 2013 · 0 comments
Assignees
Labels

Comments

@wrburgess
Copy link
Owner

So you want to add heroku as a repo that you can push to. Here's the command:

git remote add staging git@heroku.com:recipe-server-staging.git

Let's break this down:

git - tells the command line you're using a git command

remote - tells git that you are going to do something regarding remotes (links to external repos)

add - you're adding a new remote

staging - this is the name of the new remote. This can be anything you want

git@heroku.com:recipe-server-staging.git - this is the url/name/link to the heroku repo that the name 'staging' will now represent

After you add this, you can type git remote -v and see all of the remotes tied to your local repo. One of them should be "origin" which points to Github

@ghost ghost assigned matthewbivins May 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants