Importing from GitHub 23

#1

Arg, something went wrong. Try again? :@
help please

#2

Try again? :slight_smile:

If it doesn’t help, go to Console and do git pull *repo.git*

#3

Hey @GabyRoYT, welcome to the Glitch forum!

There are a few situations where Importing from GitHub doesn’t work exactly as expected, but @jarvis394 is right, you can just use git in the project console if you’re comfortable with that. If you could share your project name I can take a closer look to see what might be the problem in your case.

Sorry for the bother!

#4

nothing … please help mee

#5

$ git pull sekhostbot
fatal: ‘sekhostbot’ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

$ git pull sekhostbot
fatal: ‘sekhostbot’ does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

#6

Hi @GabyRoYT, git pull only works if you’ve got an already-configured git repo with a connection to a remote repo. It sounds to me like you haven’t gotten to that point yet.

Can you tell us the name of the GitHub repo you’re trying to import?

#7

You have to init a new remote repository on your Glitch project:

git remote add *https://github.com/user/repo-name.git* origin

Then you can use git fetch:

git fetch origin