Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HowTo: get the sourcecode in EGit in Eclipse for MegaMek, MegaMekLab and MekHQ
    Choose File -> Import -> Git -> Projects from Git
    Click Next
    Choose the Clone URI
    Click Next
    Put in the appropriate git URI
    Click Next
    Click Next
    Choose a Location
    Click Next
    Wait for the clone process to finish
    Select the option to import existing projects
    De-select all the launch4j checkboxes
    Click Finish

And from [url=]Coshx Labs[/urll]:
Quote: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]

Possibly Related Threads…
Thread Author Replies Views Last Post
  Eclipse tab settings? pheonixstorm 1 635 01-23-2016, 09:06 PM
Last Post: Arlith
  Help getting MegaMek set up in Eclipse? 11tracer 16 3,641 03-17-2015, 10:12 PM
Last Post: pheonixstorm
  New MegaMek release 0.39.5, MegaMekLab release 0.1.34, MekHQ release 0.3.8 ralgith 0 637 12-25-2014, 08:23 PM
Last Post: ralgith
  Eclipse GUI Editor help pheonixstorm 7 1,848 09-24-2014, 01:38 PM
Last Post: Netzilla

Forum Jump:

Users browsing this thread: 1 Guest(s)