git常用命令

58 阅读1分钟
@ 初始化仓库
git init 
@ 将代码提交到暂存区
git add
@ 将暂存区内容提交到本地仓库
git commit -m "注释"
@ 克隆远程仓库到本地
git clone <url>