git之idea远程操作

git之idea远程操作

 

 

 拉取,推送,查看历史,回退到初始

git之idea远程操作  git之idea远程操作

1.推送项目

  1.1VCS--Git--Push,打开上传

    git之idea远程操作

 

 

    git之idea远程操作

 

   1.2添加一个remote,复制https链接,点击确认,然后push

    git之idea远程操作

 

   输入账号密码

    git之idea远程操作

 

   右下角弹出就好了

    git之idea远程操作

 

 1.3.推送完成

  git之idea远程操作

 

 2.克隆项目

  git之idea远程操作

 

   git之idea远程操作

 

   点击yes

    git之idea远程操作

 

   接下来一直next就行了

3.修改推送

 

   git之idea远程操作

 

   可以直接commit和push,也可以先commit,然后VCS--Git--Push。

  git之idea远程操作

 

 

   对比

  git之idea远程操作    git之idea远程操作

 

 4.拉取更新项目

  点击 

     git之idea远程操作

 

   然后确认

     git之idea远程操作  git之idea远程操作

  拉取完毕。