Skip to content

How to upload a simple file #22598

Answered by mpboom
wilmaracl asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi and welcome @wilmaracl,

You have created an empty repository. This is handy for when you already have a functioning Git repository offline and just want to “import”/push it to GitHub. However, you don’t have that.

To accomplish what you would like, you can do two things:

  1. Create an empty repository like you did here, then create a local repository, create the files in there and push that local repository
  2. Check the box “Initialize this repository with a README.md” upon creating a repository (a repository with a file called README.md will be created and you will see the regular view you are used to when visiting the repository)

As for this specific case, to accomplish what you need you …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants