Sunday, September 8, 2013

Cases for Eclipse not started correctly

  1. !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

    Solution: Try to remove the file "workspace\.metadata\.plugins\org.eclipse.core.resources\.snap"
  2. Sometimes the eclipse hangs in the splash screen.

    Solution: Try to remove the file "workspace\.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi"

Sync multiple git repo at once

Use the following command in Linux will do the job:  ls -d RepoNames* | xargs -I{} git -C {} pull