Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

How To Push a Repl to GitHub

TheDNAHero
TheDNAHero

I am making a little game, as a joke, and I want to put it on github. The only problem? I don't know how to push it to github. Please help Repl. Also Do not criticize the game, as we are still working on it...

1 year ago

Voters

Comments

TopNew
1
SixBeeps
SixBeeps

Same as any GitHub project through the CLI. First set up a repo on GitHub. Then, run these commands in order:

git init git add * git commit -a -m 'Commit message' git remote add origin [email protected]:username/repo.git
1 year ago
1
TheDNAHero
TheDNAHero

I figured out how to do it directly on replit. Sorry!

@SixBeeps

1 year ago
1
YoSnow
YoSnow

@TheDNAHero
Would you please tell me how you did that? Thanks!

1 year ago
1
TheDNAHero
TheDNAHero

The button below files allows you to push to github

@YoSnow

1 year ago
1
YoSnow
YoSnow

@TheDNAHero
Thanks for the response!
I'm afraid I'm still lost.. do you know of any tutorial that could help me do this? (I checked out replit's documentation, but I can't seem to find this specific case; from replit to git).

Thanks again!

Edit : my bad, it's here under Forking the project to your own GitHub account : https://docs.replit.com/tutorials/06-github-and-run-button

1 year ago
Load more