I have a git project. I just made a commit, then I deleted some directories. ops, my bad. Now I want to restore the directories that I deleted. how to do it?
One way is to use git reset:
git reset
git reset --hard HEAD
This command will undo any changes to the working copy made since the last commit.
Source: https://habr.com/ru/post/1754132/More articles:(Django) Best Event Calendar Solution - djangoLibrary for getting camera angle with marker - iphoneHow to encrypt a program to protect against disassembly? - assemblyАда: как получить доступ к этой переменной? - variablesNeed to clarify the address lines of the processor - assemblyHow to create an Android NDK sample: "bitmap-plasma" - androidКак определить, была ли операция перетаскивания отменена с использованием NSDraggingInfo или аналогичного? - objective-cIs the facility free / released on dealloc and / or release? - memory-managementHow to run 64-bit programming with visual studio 2010? - c ++Does Verilog support short circuit assessment? - verilogAll Articles