从本地上传已有项目至github
一,初始化本地项目: git init
成功标志:Initialized empty Git repository in C:/你的本地项目路径/Project/.git/
二,代码传至本地库: git add . (add与 . 中间有个空格)
成功标志:
warning: LF will be replaced by CRLF in .idea/inspectionProfiles/profiles_settings.xml. The file will have its original line endings in your working directory 。。。。。。后面还有一大串
三,commit项目: git commit -m "test commit the project"
报如下提示:
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@ex
共有 0 条评论