1

Does git create any files/folders (hidden?) in the project tree at all?

If so, is there a way to export all the raw files and not git related files?

user229044
  • 232,980
  • 40
  • 330
  • 338
Blankman
  • 259,732
  • 324
  • 769
  • 1,199

1 Answers1

1

Git creates a single .git directory in the root of the project. You can create additional git-specific files like .gitignore and .gitmodules, but by default only the .git directory will be present.

There are many ways to 'export' your project; simply deleting the .git directory is probably the simplest.

Community
  • 1
  • 1
user229044
  • 232,980
  • 40
  • 330
  • 338
  • 4
    I'd argue that `git archive` is a better approach to suggest as simplest, since there's no way you can possibly accidentally screw yourself up, and you don't have to make extra copies like you presumably would to be able to delete the `.git` directory. – Cascabel Feb 11 '11 at 04:28