Pushing cloned workspace to Github


#1

Hello
I have succesfully cloned my C9 workspace and given it a new name. However, I CANNOT send it to Github under a new name or the old. Any insights on this?
Thanks
Marty


How do I rename a workspace?
#2

Can you explain exactly what you mean by sending it to Github under a new
name? Note that if your workspace is tied to a git repo then you’ll have to
either create a new repo or manually rename it (not sure how to do this off
the top of my head).


#3

Hmm, when one clones a c9 workspace it assigns a slightly different name by adding “clone” to the first clone and “clone-clone” to the second and so on. It also offers the opportunity to give the cloned workspace a new name. In either case, I can’t figure out how to send the clones to Github. I keep getting error messages.


#4

Sounds like you may not have git configured properly. Not sure what kind of experience you have with Git but this guide can be helpful for many. If that doesn’t help, you can try including details here like what you’re actually doing to try to get it to Github and a screenshot of the error message you’re seeing.


#5

Check to make sure the remote is set properly: https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes

You may need to add your cloud9 ssh public key to github if you are trying to push. Unlike some similar services, cloud9 doesn’t do this for you (which I like because it makes me nervous giving oauth apps access to add ssh keys).


#6

Thanks, I just saw this, it just started working