0

do changes we make in maven project (in eclipse) get updated in git local repo automatically?

Eclipse IDE

  • No, right click on the project then Maven->Update Project, alt-F5 is the shortcut. – Essex Boy Feb 15 '19 at 12:12
  • It will get updated inside the eclipse only right? but when we try checking the git local repo using "git status" it is showing as Modified if we do change the code in the project – Asik Rahman.M Feb 15 '19 at 12:20
  • any changes made in Eclipse will not be transferred to a repository until they are 'pushed' from the command line, or synchronized from eclipse. Think of eclipse as an editor of the code. – Essex Boy Feb 15 '19 at 12:38
  • 1
    This https://stackoverflow.com/questions/42554213/what-exactly-does-maven-update-project-do-in-eclipse gives a brief explanation about maven update in eclipse and No, maven update won't push the code into git! until you commit and push – Clover Feb 15 '19 at 13:07
  • Did you clear up your doubts? – JRichardsz Feb 16 '19 at 12:06

0 Answers0