You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 GithubThe text was updated successfully, but these errors were encountered: