git init
не нужен, если потом используется git clone
.git pull
перед git push
. git init
git add .
git add README.md
git commit -m "First commit"
git push -u origin master
warning: LF will be replaced by CRLF in *file_name*
The file will have its original line endings in your working directory.
git rm --cached -- '.DS_Store'
git commit