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
Post a Comment