git常用命令

克隆远程代码
git clone url

将文件加入git
git add .

本地提交
git commit -m ‘初始化提交’

提交到远程
git push

你可能感兴趣的:(git常用命令)