M
M
Max2015-07-25 15:03:40
GitHub
Max, 2015-07-25 15:03:40

What am I doing wrong with github?

Hello.
I deal with github, created a repository on the site and do everything as it is written in the instructions, but at the end only the README.md file and a comment are added to the repository, and the project itself is not loaded.
In the console, I went to the project folder (CD Documents/myApp) and then I write the following commands (Ubuntu)
echo # TEST2 >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/maxprof/TEST2.git
git push -u origin master

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2015-07-25
@maxprof

git add README.md - added only README

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question