Mina Shakhloul
Mina Shakhloul

Reputation: 43

Pushing files on github

To push files onto a repository on github do I have to manually create the repository on github before that? I got the following error if I don't create the repository automatically:

ERROR: Repository not found.
fatal: The remote end hung up unexpectedly

Upvotes: 2

Views: 93

Answers (2)

eebbesen
eebbesen

Reputation: 5148

Yes: see this Github article on pushing to a remote repository for detailed instructions on pushing to remotes.

Upvotes: 4

Mihai Maruseac
Mihai Maruseac

Reputation: 21435

Yes, you have to create a repository if you want to push to one. See this GitHub tutorial

GitHub allows you to create a repo with files in it already, too.

Upvotes: 2

Related Questions