0

Git file usage

Hello, i have recently downloaded an app called dcoder for react js coding. In place of node modules there is a .git folder. My question is that, what is this .git folder. Is it a replacement for node modules and also what if i delete it.

8th Jan 2022, 8:54 AM
Adnan Ur Rehman
Adnan Ur Rehman - avatar
2 ответов
+ 1
.git folder is being created when your directory is being initialised. it is a hidden folder and nothing to do with your modules. and if you remove that then the initialisation will be also removed
8th Jan 2022, 9:13 AM
Ayan Poddar
Ayan Poddar - avatar
+ 1
Thank you for help.
8th Jan 2022, 2:08 PM
Adnan Ur Rehman
Adnan Ur Rehman - avatar