更新本地代码到github

1.本地新建文件夹,将github地址与本地联系起来。

git clone 你项目地址

2.git status查看状态(需cd进入你项目名下)

3.更新本地代码到github上
1. 使用git add * –代表更新全部
接着输入git commit -m “更新说明”(commit只是提交到缓存区域)
git push origin master, (将缓存区的代码上传到分支上)

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×