github - RubyMine project directory disappears after git pull -


my coworker , started working on same project using github , rubymine.

our original sin push .idea folder (created , updated automatically rubymine) in local repository github. folder creates conflict co-worker's local repository every time pulls remote.

to fix issue, have delete .idea folder remote repository. now, master branch, pull remote repository, , seems .idea files removed (i not sure). therefore, rubymine won't let me see project folders (i.e., app, config, public) in project view, though these folders still there.

my question is: how can restore original setting in rubymine can see project folders?

the files .idea folder should not push workspace.xml , tasks.xml. first should untrack files with:

git rm --cached .idea/workspace.xml git rm --cached .idea/tasks.xml 

next add them .gitignore:

.idea/workspace.xml .idea/tasks.xml 

now remove .idea folder , reopen project folder rubymine.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -