GitHub Auto Export

Hello, I am using glitch to host my bot and I need glitch to export the files to GitHub automatically. Any tips?

write a shell script to automatically git push changes to your repo and then start your bot, then add that script to your package at your “start” script. if you need more details let me know

I understand the start script but could you give a example of the git push? Much appreciated!

use the command line tools for git to commit the files to your repo:
https://help.github.com/en/articles/adding-a-file-to-a-repository-using-the-command-line

if you add me to your project, i can give you some detailed help if you want, or i can write up a quick script

You can use prestart field in your package.json file for this job.

...
"prestart": "git push origin master ...",
"start": "node ."
...