初始化一个Git仓库,使用git init命令。
git init
添加文件到Git仓库,分两步:
git add <file>
git commit -m <message>
初学Git命令
原文:https://www.cnblogs.com/lal520/p/10756529.html