Bash script getting deleted automatically on OS X git repository inside Eclipse project
<p>I have a bash script that I use to simply <strong>change directory, compile, change the directory back, and run my code</strong>.</p>
<p>The root project is a git repository; however, the directory <strong><code>bin</code></strong>, which contains my bash script is excluded in <code>.gitignore</code>.</p>
<p>I am on OS X in zsh, and using Eclipse for editing the project.</p>
<p><strong>Every now and then, the bash script automatically gets deleted!!</strong></p>
<p>I am not able to associate it with any particular event. It's just that after executing a certain number of times, it simply disappears.</p>
<p>I am not sure whether this is caused due to Eclipse or git or something else. What could be the problem?</p>
<p><strong>N.B:</strong> I am sure no one else is accessing my system.</p>