从本地上传已有项目至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

从本地上传已有项目至github最先出现在Python成神之路

版权声明:
作者:主机优惠
链接:https://www.techfm.club/p/13409.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>