Ask coding questions

← Back to all posts
How can I add a files in my repository from github, by using Replit?
CristianoSch (1)

I've already created a repository and now I'd like to upload the entire file to the same folder

Comments
hotnewtop
Coder100 (18915)

step 1:
clone your repo

step 2:
make changes to your repl, and then commit and push them to your repo!

CristianoSch (1)

So I have to download all the files first, right? @Coder100

Coder100 (18915)

what do you mean download?
i think you are getting this wrong
basically the repl becomes the repo! @CristianoSch

CristianoSch (1)

@Coder100 the only way I could do it was making downloading, git is already integrated with replit

Coder100 (18915)

what exactly do you mean downloading
downloading what? @CristianoSch

CristianoSch (1)

@Coder100 the only way I could do it was to download it into my desktop.
But yes, my github is already integrated with the replit

Coder100 (18915)

download it
what do you mean by it -- repl or github?

anyways, click on this icon:

and it will tell you what to do.
A commit is basically a 'change' @CristianoSch

CristianoSch (1)

I have a folder with many files inside, I would like to have on my github the same, not folder by folder, did you get [email protected]

Coder100 (18915)

ok
so you are basically just downloading the files from github and then uploading to replit?

There's a better way
use the pull button @CristianoSch

Coder100 (18915)

so you want both the repl and the repo to gave both the same files? @CristianoSch

CristianoSch (1)

ok I will try it, thank you very much. @Coder100

SixBeeps (5348)

Are you using the built-in GitHub integration? Also, was the repository from GitHub and you cloned it into a Repl, or was it created from a Repl and pushed to GitHub?

CristianoSch (1)

I made the folder here with some files I would like to upload to my github, not just a file as it appeared there.
But I did it now in a different way, I had downloaded all the files I had in this folder to my git and pushed it there. But, ins't there a easy way to do it?