I wonder if (and how) it is possible to always automatically commit a repository once Eclipse is closed?
I didn't find any option in the Eclipse "Team" preferences.
Don't ever do that. Committing should be done when
Moreover, the commit might very well fail if someone else has made a conflicting change, forcing you to update and perhaps made additional changes before trying to commit again.
In short, it's not something that should be automated at the closing of Eclipse (and that's why Eclipse doesn't allow to do it and probably never will).
That sounds like a very bad idea indeed, as JB pointed out.
Without knowing why you'd want to do that, maybe using Eclipse "local history" feature would be more suitable?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.