To clarify, try creating an empty file (e.g. using the "touch" command) with the right path.
On Thu, 3 Sep 2020, 17:39 Shaheed Haque, <shaheedhaque@gmail.com> wrote:
Sorry to hear about your problems. One other avenue to possibly explore is Pycharm's "local history" facility. This keeps track of changes independently of any VCS such as git.It seems to be based on the original file paths. So, try creating one file with the EXACT path before the rename. Then go into the local history viewer. If you're in luck, you can try to recover the missing content. If that works, try the other files.Yeah, well great advice. Too bad I didn't take it sooner. I lost two weeks of really hard work because I move a folder and somehow it erased all the coding I had done in PyCharm. I don't understand it, but there it is. I am in the process of learning how to use Git and Github. But. Damn.--On Monday, August 31, 2020 at 11:58:11 AM UTC-7 Kasper Laudrup wrote:Hi rbarhydtsf,
On 31/08/2020 20.21, rbarh...@gmail.com wrote:
> Thank you, Kasper. Good idea. Sadly, I don't really know how to do that.
>
I would recommend finding some tutorial on how to use git (as that is
probably what you'll use anyway). Cannot really recommend anything
specific, but someone else might be able to.
It takes some time to learn even the basics and it might seem useless as
it is time not spend on writing code, but it can save you so much time
later on, so it's definitely worth it.
Has helped me many times in frustrating situations like the one you have
right now, and you will have situations like that again, even after many
years of writing code.
We're only humans after all and most of us cannot remember the point of
the code we wrote two days ago, so it's extremely helpful to have tools
to help you remind you what you did (and why) two years ago.
Kind regards,
Kasper Laudrup
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b5a51ad7-d4e1-4fa4-8ee2-cff352bcde13n%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHAc2jeBJJ57o%2BLsjQERj0zicFCLcbEBmnQjKw-Nuypbfd6%2BPA%40mail.gmail.com.
No comments:
Post a Comment