How to push code I created in IDX to Github

Hi, I have created an HTML and CSS website using IDX but how do i create a remote REPO and push it to github repo?

I am able to push code from my computer locally where I got SSH integrated with it. But I have never pushed code from a VM IDE before.

Asking help for guidance.

Hi,

It’s the same process.

1.Create the repo
2. Open the terminal
3. Run the git init command to push the code
4. It will give you a code to authenticate yourself and then you should be good to go

This only works for HTTPS remotes. I couldn’t find any other way to authenticate with SSH remotes. Here’s a uservoice suggestion for SSH integration that you can upvote though.

1 Like