Git commit in eclipse ignores unnecessary files

1. Open the Navigator window and find the .gitignore file (if not, add one)

  Navigator窗口: window ->  show view ->  other-> Navigator

2. Configure the files that need to be ignored.

/target/
/.settings/
.classpath
.project
.gitignore

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324684903&siteId=291194637