在Eclipse中使用Git - WangLeb/skill-markdown GitHub Wiki

git与Eclipse

在eclipse中,默认就有Git,但没有svn,使用svn必须额外的添加插件

git配置默认不上传的文件

官网ignore地址:https://github.com/github/gitignore/blob/master/Java.gitignore

根目录下的.gitconfig的文件配置

` [user] name = wangle_sys emall = [email protected] email = [email protected] [gui] recentrepo = E:/local-register

[core] excludesfile = C:/Users/华为/Java.gitignore `

根目录下的Java.gitignore的文件配置(参照github官网网站)

`

Compiled class file

*.class

Log file

*.log

*.cmd

BlueJ files

*.ctxt

Mobile Tools for Java (J2ME)

.mtj.tmp/

Package Files

*.jar *.war *.nar *.ear *.zip *.tar.gz *.rar

virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml

hs_err_pid*

.classpath .project

.gitignore mvnw sdsd .settings .mvn target `