vscode git 提交数据到分支

    1、vscode菜单--终端--新建终端

  git config --global user.name "your name"
  git config --global user.email "your email"

  git config --global credential.helper store

  your name:git给你分配的用户

  your email:git上你的email


2、修改代码后,先commit(提交)


3、输入本次修改的说明


4、push到服务器上的分支上,这里我们建的是dev,一般不对master进行修改




说明:先安装好git,然后vscode中配好git的位置,下面是windows中的操作。




posted @ 2019-07-05 16:19  jiduoduo  阅读(4476)  评论(0编辑  收藏  举报