How To Add An Existing Project To Github

Source URL:

Language: shell

Created on: 2020-12-12 13:16:51

# Go into your existing directory and run below commands
cd docker-spring-boot
echo "# docker-spring-boot" >>
git init
git add -A
git commit -m "first commit"
git branch -M master
git remote add origin
git push -u origin master

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,...