1

Theoretically, if someone came into possession of one on my .git directories (but no source code at all), would they be able to recover any code?

asked Aug 31, 2016 at 11:22
1
  • 3
    Not just any of it, but all of it. Commented Aug 31, 2016 at 11:24

1 Answer 1

4

Yes, in .git/objects folder is git database with all objects (blobs, commits, tags and trees). Whole history is available in .git folder.

For details you can take a look into documentation.

answered Aug 31, 2016 at 11:28
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.