I'm currently developing a web application on Heroku using cloud9 (c9.io) as a workspace.
As a result of a git mistake I have found that my origin repository is at the same location as my Heroku repository so changes I make in development are right away placed into production.
because my origin repository is the same as my Heroku repository using the command:
git push
is treated the same as
git push heroku
I understand the process of how to switch a repository to the origin, but I'm unsure where my c9 local repository was/is.
Does anyone know the location of c9's default git origin repository or know how to change c9 back to my origin repository?
EDIT:
c9 does not provids a git repository by default, i was using my heroku repository as origin the entire time, i acheived the behavior i desired by adding a bitbucket repo to origin. Sorry for the dumb question!