1.创建Git 操作:工程 右键 Team Share Project Git 完成创建

2.全局设置:Window->Preference->Git->Configuration->Respository Settings->Add Entry

增加一个user.name 和user.email的Entry

3.配置ignore:https://github.com/github/gitignore/blob/master/Java.gitignore

在C盘,users创建Java.gitignore

内容还要加上一些东西

  1. # Compiled class file
  2. *.class
  3.  
  4. # Log file
  5. *.log
  6.  
  7. # BlueJ files
  8. *.ctxt
  9.  
  10. # Mobile Tools for Java (J2ME)
  11. .mtj.tmp/
  12.  
  13. # Package Files #
  14. *.jar
  15. *.war
  16. *.nar
  17. *.ear
  18. *.zip
  19. *.tar.gz
  20. *.rar
  21.  
  22. # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
  23. hs_err_pid*
  24.  
  25. .classpath
  26. .project
  27. .settings
  28. target

修改.gitconfig的配置文件为(加上路径)

  1. [user]
  2. name = LittlePage
  3. email = littlepageprogram@outlook.com
  4. [core]
  5. excludesfile=C:/Users//Java.gitignore

Restart Eclipse‘

拖拽到相应区域,然后进行Commit操作

右击 Team Commit操作

==Oxygen Eclipse 的克隆操作

import the Project of the Git

导入后右击Configure->Convert to Maven Project

==在Kepler Eclipse版本需要保存在其他目录

Git中push冲突,先pull下来,对照人为修改后再进行push操作

Git工作流

集中式工作流

GitFlow工作流

Forking工作流

Git分支操作,右击Team new Branch ,推送分支后可拉取

Git Learning3 Eclipse Tools(未完成)的更多相关文章

  1. git与eclipse集成之clone远程仓库到本地

    1. Git与Eclipse集成 1.1. Clone远程仓库到本地 1.1.1.        获取远程仓库地址(选择北京,访问速度比深圳快) 1.1.2.        将远程仓库导入到Eclip ...

  2. 【教程】Git在Eclipse中的安装和基本使用

    一.安装 点击 Help->Install New Software->add 安装地址为:http://download.eclipse.org/egit/updates/ 选择插件   ...

  3. git在eclipse中的配置 转载

    git在eclipse中的配置 转载 一_安装EGIT插件 http://download.eclipse.org/egit/updates/ 或者使用Eclipse Marketplace,搜索EG ...

  4. Git在eclipse中的配置

    1:git在eclipse中的配置 windows - >preferences->team->git->configuration 点击add Entry key值:输入 u ...

  5. [转]git在eclipse中的配置

    一_安装EGIT插件 http://download.eclipse.org/egit/updates/ 或者使用Eclipse Marketplace,搜索EGit 二_使用EGIT前的配置 配置个 ...

  6. 【转】git在eclipse中的配置

    原文网址:http://www.cnblogs.com/zhxiaomiao/archive/2013/05/16/3081148.html 一_安装EGIT插件 http://download.ec ...

  7. Git(3)----Eclipse上Git插件使用技巧

    转载:http://blog.csdn.net/qq_33066205/article/details/56675704 一_安装EGIT插件 http://download.eclipse.org/ ...

  8. Git(1)----Eclipse安装Git插件

    一.从官网选择系统版本下载Git并安装 地址:https://git-scm.com/downloads/ 二.打开Eclipse 1. 第一种安装方法: help-->Install New ...

  9. Linux搭建GIT 使用Eclipse创建并上传Git项目 EGit操作

    Linux搭建Git 1. gitblit服务器文档 http://gitblit.com/setup_go.html 2. 安装jdk 参考 http://blog.csdn.net/jerome_ ...

随机推荐

  1. raise error

    raise TypeError("参数q_type 错误 ")

  2. 关于微信跳转,这里有你想知道的一切weixin://dl/business/?ticket=td9cd0bf056c561fe9f56e33c61df61bf

    纠结了了很久,还是放出来部分接口,相信能够看到这篇文章的人也基本都是需求比较强烈的. 京东: https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http%3a% ...

  3. string函数详解(配案例)

    多说无益上码~ #include<iostream> #include<algorithm> #include<cmath> #include<cstring ...

  4. 北京大学Cousera学习笔记--3-计算导论与C语言基础-第一讲.计算机的基本原理-计算机怎么计算-数的二进制

    思考问题 1.“数”在计算机中是如何表示的? 2.逻辑上“数”是怎么运算的? 3.物理上“数”的计算是怎么实现的? 从图灵机计算问题得出: 1.字母表中的符号越多(几进制),读入移动次数减少,但程序数 ...

  5. OpenGL——外部读档+异常报错

    从外部读取shader文件: 先添加Shader类: 再创建vertexSource.txt和fragmentSource.txt两个文件: 如图填入shader: 在shader.h宣告: 在sha ...

  6. ELK+Filebeat 集中式日志解决方案详解

    链接:https://www.ibm.com/developerworks/cn/opensource/os-cn-elk-filebeat/index.html?ca=drs- ELK Stack ...

  7. luogu P1003 铺地毯

    水题 #include<stdio.h> #include<string.h> #include<algorithm> using namespace std; t ...

  8. 装饰者模式 Decorator

    项目:咖啡计费系统 背景:现有系统中有一个抽象类Beverage,有2个抽象方法GetDescription和Cost. namespace DecoratorPattern { /// <su ...

  9. MODBUS协议解析中常用的转换帮助类(C#)

    p{ text-align:center; } blockquote > p > span{ text-align:center; font-size: 18px; color: #ff0 ...

  10. VMware复制CentOS7,网络配置问题处理

    问题: vm安装CentOS7,静态IP配置完毕后,关闭虚机1,克隆虚拟机为2.克隆出来的虚拟机使用ip addr命令,发现网卡但和之前名称完全不一样变成ens33,也没有ip地址,但/etc/sys ...