From: W. Trevor King Date: Fri, 29 Nov 2013 22:41:14 +0000 (-0800) Subject: COPYING: Add MIT license for this project X-Git-Tag: v1.0~1^2~1 X-Git-Url: http://git.tremily.us/?p=swc-git-example.git;a=commitdiff_plain;h=e8051dc5817443a3078ff344478b92f3c164c1ab COPYING: Add MIT license for this project The text is from http://opensource.org/licenses/mit-license.html. I haven't made any local changes yet, so the `` and `` markers are still there. Because I'm not sure I want to use this license yet (maybe I'll use the BSD license instead?), I've started a new branch for this commit: $ git checkout -b mit-license master That creates a new branch `mit-license` based on the current `master` and checks out the new branch. You can see which branch you're usually on using `git branch`: $ git branch * mit-license master The asterix marks the active branch. Once we've checked out the new branch, creating commits is just like it used to be: $ git add COPYING $ git commit Projects usually include licensing information like this explaining the terms under which others are allowed to make changes. The file is often called COPYING or LICENSE. The Open Source Initiative has a list of popular licenses [1], as does the Free Software Foundation [2]. [1]: http://opensource.org/licenses/ [2]: http://www.gnu.org/licenses/license-list.html --- diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..242132d --- /dev/null +++ b/COPYING @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE.