ruby on rails - git merge .idea/workspace error -
i'm relatively new programming, i've been working ruby on rails because i'm interested in web development figured thing start with.
i've been using git keep version tidy, , i've read everywhere it's habit into, it's been flaking on me lately. know it's user error, don't know i'm doing wrong , how fixed.
i working on branch off of master, called layout, made bunch of changes, , merged master branch. when went master branch, changes didn't seem commit , lost day's worth of work. i've since kept backup folder on desktop in case happens again.
i go layout branch, redo changes made, commit it, switch master , use
git merge layout
it gives me error:
conflict (content): merge conflict in .idea/workspace.xml
the thing can seem doesn't delete these files continue working on layout branch. don't want because it's not 'proper' way things.
what doing wrong?
sounds you're using rubymine. make sure include .idea in git ignore files.
add this: .idea/
.gitignore file
of course once files tracked git need untrack them. git rm <file_name>
Comments
Post a Comment