I have a git and security related question.
Suppose someone has access to your .git folder of your project.
Can he somehow get the source code of the project?
If so, how will he do it?
I am curious.
Thanks!
That's right. All they need to do is clone it:
git clone C:\Repo\.git Copy
The contents of the directory .gitis a repository with all its objects , references and packfiles .
.git
.git . , , .git:
git init --bare C:\Repo
Source: https://habr.com/ru/post/1613794/More articles:ASP.NET MVC - the correct use of the View Model and Command - design-patternsASP.NET MVC - client-side validation using view models - jqueryHow to integrate PayPal express check? - phpSugar ORM defining an encryption key - androidExtracting whole substring based words in python - pythonAngularjs creates a row for every 3 columns - javascriptOnly show open div with angular if - angularjschange the text in without changing the span of the same h2 tag - jqueryBest way to manage storyboards under git? - gitWhy Eclipse generates two comment blocks in package-info.java - javaAll Articles