码迷,mamicode.com
首页 > Web开发 > 详细

git 本地文件夹 上传到远程仓库

时间:2018-05-25 11:00:03      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:实例   https   ORC   des   文件夹   nbsp   comm   ast   远程仓库   

git init  //实例化本地仓库

git add .  //添加所有文件

git commit -m ‘desc‘  //提交+描述

git remote add origin https:git....   //添加远程仓库

git push -u origin master  //push到远程仓库,或重新覆盖远程仓库git push --force --set-upstream origin master

git 本地文件夹 上传到远程仓库

标签:实例   https   ORC   des   文件夹   nbsp   comm   ast   远程仓库   

原文地址:https://www.cnblogs.com/zhcnblog/p/9086585.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!