git config --global user.name "gitlab"
git config --global user.mail "[email protected]"
git config --global core.autocrlf false
git remote add origin [email protected]
git add .
git commit -m "Initial commit"
git push -u origin master
cre.autocrlf false设置是不做换行处理
因为windows与linux的换行符不同,所以注意一下