Should I configure git and heroku in every workspace?

git

#1

In my first workspace I configured Git with the following commands:

git config --global user.name "My Name" git config --global user.email my.email@example.com
$ git config --global push.default matching

The I logged in at Heroku and added my SSH key:

heroku login heroku keys:add

Should I repeat these steps for every new workspace?
Many thanks in advance


#2

Hi,

Thanks for writing in! In short, yes. Think of each workspace you make to be a brand new machine, so each workspace you create will have to be configured individually.

Regards,
​Mutahhir


#3

Just wanted to expound on this a bit so all can see. People often ask about a global git config that can span across workspaces or automatically be setup in each new workspace. Cloud9 does not handle anything like this out of the box so, as stated above, these are things you’ll need to setup on a workspace by workspace basis.