In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:
- You can separate the code into different repositories.
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| set listchars=tab:→\ ,trail:·,precedes:«,extends:»,eol:¶ | |
| set listchars=tab:→\ ,trail:␣,extends:…,eol:⏎ | |
| set listchars=tab:‣\ ,trail:·,precedes:«,extends:»,eol:¬ | |
| set listchars=tab:␋\ ,trail:␠,precedes:«,extends:»,eol: | |
| set listchars=tab:>-,trail:.,precedes:<,extends:>,eol:$ |
| ######################### | |
| # .gitignore file for Xcode4 / OS X Source projects | |
| # | |
| # NB: if you are storing "built" products, this WILL NOT WORK, | |
| # and you should use a different .gitignore (or none at all) | |
| # This file is for SOURCE projects, where there are many extra | |
| # files that we want to exclude | |
| # | |
| # For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
| ######################### |