3

Can you use version control on a git repo? I mean put a git repo inside a git repo so you can commit while you commit... :P

Comments
  • 1
    Gitception.
  • 1
    *SCREEEAAAMMM*

    Unless Git has some inbuilt code to block this it will work but please for everyone's sanity, don't xD.

    Use Git submodules instead if you need to
  • 1
    Git repo inside git repo works. But they act as two separate gits (the outer one contains the inner one).
  • 1
    Only if you're planning something evil!!!
    Otherwise you can have a look at git submodules or even git subtrees
  • 0
    @ste09 Didn't know about thoseWill have a look. Thank you :)
  • 0
    I have commitment issues and this gives me cold sweats...
  • 0
    Yes, I do it all the time.

    It's called a submodule.
Add Comment