VyroAI

Loading...

Pushing a Project to GitHub

Sending your project's files to a repository you own, and the secret files the push leaves out on purpose.

What the push sends

A push sends your project's files to the repository you choose. They are the same files the editor works from, with one difference: anything in them that looks like a secret — a bot token, an API key — is blanked out on the way, replaced by a marker such as ${REDACTED_…}. So a file with a key typed into it arrives on GitHub without the key, and the GitHub copy is not an exact copy of your file tree. Each file is written to the repository in turn, and the message at the end says how many went up: "Pushed 12 files.", or "Created owner/repo and pushed 12 files." for a new repository, with a link to the repository beside it.

Some files are held back on purpose. Secret files — a .env and its relatives — are never pushed, and that same message counts them for you. Images and other binary files go up as their real bytes.

A project with nothing to send is refused rather than pushed empty: you get "This project has no files to push". More than 2000 files is refused as well.

Other ways to get your code out

A push is not the only route out of VyroAI:

For rolling back your own work, Version History inside VyroAI is the tool, not GitHub.

It is a one-way push

The word sync usually means more than this does, so know what you are getting:

It is publishing a copy, not version control.

Your .env is left behind on purpose

The push does not send secret files. A .env, any .env.<name> that is not an example or a template, key and certificate files (.pem, .key, .p12, .pfx), SSH keys, credentials.json, service-account.json and anything whose name starts with secrets. are all held back.

That matters most for Discord bots, because saving your bot token in the Bot Console writes DISCORD_TOKEN=… into .env. That file does not reach the repository, public or private, and you do not have to clear the token by hand first.

The message after a push says how many were withheld — "1 secret file was left out on purpose (.env and similar)." — so a missing .env on GitHub reads as deliberate, not lost. See Bot Token & Inviting Your Bot.

Where the controls are: connect GitHub under Profile → Connectors, then open the project's Connectors section in Project Settings (it used to be called the GitHub tab). There is no Owner box: your GitHub name is read from the connected account and shown in grey. Pick one of two ways in:

Also in Code Studio (IDE)

27 of 37 in Code Studio (IDE) · Last checked 18 September 2026 · Previous: Importing from GitHub