git配置

$ git config --global core.quotepath false   显示 status 编

$ git config --global gui.encoding utf-8  图形界面编码

$ git config --global i18n.commit.encoding utf-8  提交信息编码

$ git config --global i18n.logoutputencoding utf-8  输出 log 编码

二、git操作

git clone //拷贝一份远程仓库,也就是下载一个项目

git add * //添加文件到暂存区

  git add 文件夹/ 添加整个文件夹及内容
  git add *.文件类型 添加目录中所有此文件类型的文件

git commit -m "" //将暂存区内容添加到仓库中

git push origin master //推送文件到远程仓库

git pull //下载远程代码并合并

posted on 2020-09-08 13:41  半途  阅读(106)  评论(0)    收藏  举报