문제

I have a Rails project and I'm using git version control. Currently I have two files, ~edit.html.haml and ~new.html.haml. I'm imagining that the ~ has to do with git in some way. My question is what is the ~ for? Is this a mistake made my a previous developer or does this have to do with git?

도움이 되었습니까?

해결책

It seems like a backup (temporary) file. In my experience, backup files are usually deleted whenever the program that created it is closed: http://www.computerhope.com/issues/ch000527.htm

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top