]>
Commit | Line | Data |
---|---|---|
5dd44a2a GT |
1 | This is a repository for useful small snippets that really belong in version |
2 | control in a central spot, instead of someone's Public. Please add stuff | |
3 | here via git: | |
4 | ||
5 | add git | |
a4d409c7 | 6 | git clone /mit/snippets |
5dd44a2a GT |
7 | cd snippets |
8 | [create or copy a file, let's call it "item"] | |
9 | git commit item | |
10 | git push | |
11 | ||
5750512b GT |
12 | If you're not on gsipb and want to commit, ask geofft (or someone on |
13 | sipb-acl) to add you to snippets-committers. You can't write to | |
14 | /mit/snippets directly, but if you push (to the master branch) from your | |
15 | own checkout, it will automatically update this checkout. | |
5dd44a2a GT |
16 | |
17 | There's a (currently very simple) web interface at | |
bd9b45f2 | 18 | http://snippets.scripts.mit.edu/ |
5750512b GT |
19 | |
20 | snippets has support for submodules, if things outgrow this repository. | |
21 | You can use 'git submodule update --init' to populate them if you want, | |
22 | or look at .gitmodules to find where they live now. |