Skip to content

HowTo: Eclipse EGit and the Projects

Dylan Myers edited this page Feb 19, 2016 · 3 revisions
  1. Choose File -> Import -> Git -> Projects from Git
  2. Click Next
  3. Choose the Clone URI
  4. Click Next
  5. Put in the appropriate git URI
  6. Click Next
  7. Click Next
  8. Choose a Location
  9. Click Next
  10. Wait for the clone process to finish
  11. Select the option to import existing projects
  12. De-select all the launch4j checkboxes
  13. Click Finish

And from Coshx Labs:

Solution 2: Mark database.yml as assume-unchanged in git’s index

In fact git has the power to ignore local changes to tracked files, but it’s slightly clunkier than and completely >inconsistent with the familiar .gitignore. You must use git update-index to tell git to ignore changes to the file:

$ git update-index --assume-unchanged config/database.yml

Now your git status will be clean, and you will have no unwanted results when you run things like git add . and git >commit -a. And when somebody upstream modifies database.yml, git will not ask you to resolve the conflict. Perfect.

To un-mark the file as assume-unchanged:

$ git update-index --no-assume-unchanged config/database.yml

And if you want a list of tracked files that git is ignoring:

$ git ls-files -v | grep ^[a-z]

Clone this wiki locally