git clone 地址
git init 初始化
git add . 将代码添加到暂存区
git commit -m "备注" 将代码从暂存区添加到仓库
git push origin master 将本地代码推送到远程仓库
git pull 下拉代码
git checkout 分支名称 :切换分支
git clone 地址
git init 初始化
git add . 将代码添加到暂存区
git commit -m "备注" 将代码从暂存区添加到仓库
git push origin master 将本地代码推送到远程仓库
git pull 下拉代码
git checkout 分支名称 :切换分支