This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue980] "Git Bash" window remove my java code that has not saved yet

chunji bugs at openhatch.org
Sat May 10 05:49:43 UTC 2014


New submission from chunji <chunji08 at gmail.com>:

Sad day today !!! 
In the git-bash window, I was trying to run this command to globally replace a
keyword in my newly created java source tree, and unfortunately the source code
have not checked-in yet. 
"
find . -name "*.java -exec perl -pi -e 's/keyword1/keyword2/g' {} ';' -print 
", 
And this command line has magically cleaned all my java code within that tree. 

if someone can help, it would be very helpful. 

later, 
Chun

----------
messages: 4319
nosy: chunji, paulproteus
priority: critical
status: unread
title: "Git Bash" window remove my java code that has not saved yet

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue980>
__________________________________________


More information about the Devel mailing list