windows git

先在国内的镜像 下载git windows https://npm.taobao.org/mirrors/git-for-windows/

下载完,直接安装

先在github上面创建仓库,然后在代码所在文件使用git bash如下推送代码

 

 

git init
git remote add origin https://xxx@xx.git
git fetch
git branch master origin/master
git checkout master
然后你就可以用
git add .
git commit -m “提交信息”
git push origin master

posted @ 2020-02-08 00:28  李荣先辈Java  阅读(116)  评论(0编辑  收藏  举报