Skip to content

Commit 05cee75

Browse files
authored
Merge pull request #38 from jdebacker/license
Thanks @jdebacker. Merging.
2 parents 26567ad + c10d82c commit 05cee75

2 files changed

Lines changed: 59 additions & 29 deletions

File tree

LICENSE

Lines changed: 45 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,45 @@
1-
BSD 3-Clause License
2-
3-
Copyright (c) 2020, PSLmodels/Git-Tutorial contributors
4-
All rights reserved.
5-
6-
Redistribution and use in source and binary forms, with or without
7-
modification, are permitted provided that the following conditions are met:
8-
9-
1. Redistributions of source code must retain the above copyright notice, this
10-
list of conditions and the following disclaimer.
11-
12-
2. Redistributions in binary form must reproduce the above copyright notice,
13-
this list of conditions and the following disclaimer in the documentation
14-
and/or other materials provided with the distribution.
15-
16-
3. Neither the name of the copyright holder nor the names of its contributors
17-
may be used to endorse or promote products derived from this software
18-
without specific prior written permission.
19-
20-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
2+
3+
Copyright (c) 2026, PSLmodels/Git-Tutorial contributors
4+
5+
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License ("CC BY-NC-SA 4.0").
6+
7+
Plain-English summary
8+
=====================
9+
10+
You may:
11+
12+
* copy and share this material in any medium or format
13+
* adapt, remix, transform, and build on this material
14+
15+
These permissions apply only if your use is non-commercial and you follow the license terms below.
16+
17+
You must:
18+
19+
* give appropriate attribution to PSLmodels/Git-Tutorial contributors
20+
* include a copyright notice
21+
* provide a link to the CC BY-NC-SA 4.0 license
22+
* indicate whether you made changes
23+
* distribute adaptations under the same CC BY-NC-SA 4.0 license or a Creative Commons compatible license
24+
25+
You may not:
26+
27+
* use this material for commercial purposes
28+
* apply additional legal or technical restrictions that would limit other people from exercising the rights granted by the license
29+
* imply that the licensors endorse you or your use of the material unless they have explicitly agreed to do so
30+
31+
Additional notes
32+
================
33+
34+
* This summary is provided for convenience and does not replace the full license.
35+
* Some uses may still require additional permissions if other rights are involved, such as privacy, publicity, or third-party rights.
36+
* Exceptions and limitations to copyright law, such as fair use, are not affected by this license.
37+
38+
To view a copy of this license, visit:
39+
https://creativecommons.org/licenses/by-nc-sa/4.0/
40+
41+
Or send a letter to:
42+
Creative Commons
43+
PO Box 1866
44+
Mountain View, CA 94042
45+
USA

book/content/repomgt/license.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33

44
Choosing a license is one of the most important early decisions for an open-source repository. A license tells other people what they are allowed to do with the code and what obligations come with that use.
55

6+
## License used by this project
7+
8+
The Git Tutorial project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International license (CC BY-NC-SA 4.0).
9+
10+
The copyright notice for the project should read:
11+
12+
`Copyright (c) 2026, PSLmodels/Git-Tutorial contributors`
13+
14+
This is a more restrictive license than permissive software licenses such as BSD or MIT because it requires attribution, limits use to non-commercial purposes, and requires adapted versions to be shared under the same license terms.
15+
616
## Why a license matters
717

818
Without a license, a public GitHub repository may be visible, but others usually do not have clear legal permission to reuse, modify, or redistribute the code.
@@ -28,6 +38,10 @@ These licenses are often chosen when the project wants to maximize downstream ad
2838

2939
Copyleft licenses such as GPL require derivative works to remain under compatible open-source terms when distributed. These licenses are often chosen when maintainers want changes to remain open in downstream redistributions.
3040

41+
### Creative Commons licenses
42+
43+
Creative Commons licenses are more commonly used for documentation, books, and other written or creative works than for software source code. A license such as CC BY-NC-SA 4.0 allows sharing and adaptation with attribution, restricts commercial use, and requires derivatives to use the same license.
44+
3145
## Questions maintainers should ask
3246

3347
Before choosing a license, it helps to ask:

0 commit comments

Comments
 (0)