Arquisoft / InciManager_i2b

InciManager_i2b
MIT License
1 stars 2 forks source link

Update gitignore #51

Closed carmee-en closed 6 years ago

carmee-en commented 6 years ago

Everytime we do a pull request, some of the changed lines are meaningless source paths from each individual installation such as the ones in: target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

I think such files should be included in the .gitignore file. I'm not sure if ignoring the whole testCompile folder will have any repercussion on the project itself (at least I don't think so).

carmee-en commented 6 years ago

Regarding this I hadn't noticed that we are currently ignoring this folder already on the .gitignore. The problem is that, at least in my case, before committing i executed git add -A, which adds everything including the ignored files.

The solution I found online is doing instead git add . which adds everything except the ignored files. (I haven't tested it yet though)

carmee-en commented 6 years ago

Final update: no need for git add . or changing the .gitignore file. We only have to remove the target folder before doing git add -A, that is done using git rm target.