I have a folder with my project sources. How I can push this project into Github's repository?
I tried using this steps:
- I created empty repository on GitHub.
- I run git-bash and typed
git init
, so inside project root appeared .git
folder.
- I added some files to version control using
git add sourcesFolderName
- I committed files added in previous step using
git commit -m "initial commit"
- I specified remote repository using
git remote add MyProject <url>
- Finally
git push
, but nothing is pushed to remote repo... (no authorization failure)
So how I can push existing sources into newly created github repo?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…