├── .gitattributes ├── 9781484253120.jpg ├── Contributing.md ├── LICENSE.txt ├── README.md ├── chap09 └── README.md ├── chap10 ├── index - issue #3.html └── index.html ├── chap11 └── README.md ├── chap12 ├── index_1.html └── index_2.html ├── chap13 ├── index.html ├── index_1.html └── index_2.html ├── chap15 ├── LICENSE ├── README.md ├── index.html └── style.css └── errata.md /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /9781484253120.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/beginning-git-and-github/9935836f618927078010bf7081a10026f6359faa/9781484253120.jpg -------------------------------------------------------------------------------- /Contributing.md: -------------------------------------------------------------------------------- 1 | # Contributing to Apress Source Code 2 | 3 | Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers. 4 | 5 | ## How to Contribute 6 | 7 | 1. Make sure you have a GitHub account. 8 | 2. Fork the repository for the relevant book. 9 | 3. Create a new branch on which to make your change, e.g. 10 | `git checkout -b my_code_contribution` 11 | 4. Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted. 12 | 5. Submit a pull request. 13 | 14 | Thank you for your contribution! -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Freeware License, some rights reserved 2 | 3 | Copyright (c) 2020 Mariot Tsitoara 4 | 5 | Permission is hereby granted, free of charge, to anyone obtaining a copy 6 | of this software and associated documentation files (the "Software"), 7 | to work with the Software within the limits of freeware distribution and fair use. 8 | This includes the rights to use, copy, and modify the Software for personal use. 9 | Users are also allowed and encouraged to submit corrections and modifications 10 | to the Software for the benefit of other users. 11 | 12 | It is not allowed to reuse, modify, or redistribute the Software for 13 | commercial use in any way, or for a user’s educational materials such as books 14 | or blog articles without prior permission from the copyright holder. 15 | 16 | The above copyright notice and this permission notice need to be included 17 | in all copies or substantial portions of the software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | AUTHORS OR COPYRIGHT HOLDERS OR APRESS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | SOFTWARE. 26 | 27 | 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Apress Source Code 2 | 3 | This repository accompanies [*Beginning Git and GitHub*](http://www.apress.com/9781484253120) by Mariot Tsitoara (Apress, 2020). 4 | 5 | [comment]: #cover 6 | ![Cover image](9781484253120.jpg) 7 | 8 | Download the files as a zip using the green button, or clone the repository to your machine using Git. 9 | 10 | ## Releases 11 | 12 | Release v1.0 corresponds to the code in the published book, without corrections or updates. 13 | 14 | ## Contributions 15 | 16 | See the file Contributing.md for more information on how you can contribute to this repository. -------------------------------------------------------------------------------- /chap09/README.md: -------------------------------------------------------------------------------- 1 | # TODO list 2 | A simple app to manage your daily tasks 3 | 4 | ## Features 5 | * List of daily tasks 6 | -------------------------------------------------------------------------------- /chap10/index - issue #3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 19 | 20 | 21 |

TODO list

22 | 23 |

Todo

24 | 29 | 30 |

Done

31 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /chap10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 7 | 8 |

TODO list

9 | 10 |

Todo

11 | 16 | 17 |

Done

18 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /chap11/README.md: -------------------------------------------------------------------------------- 1 | # TODO list 2 | A simple app to manage your daily tasks. 3 | It uses HTML5 and CSS3. 4 | 5 | ## Features 6 | * List of daily tasks 7 | -------------------------------------------------------------------------------- /chap12/index_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 32 | 33 | 34 |

TODO list

35 | 36 |

Todo

37 | 42 | 43 |

Done

44 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /chap12/index_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 36 | 37 | 38 |

TODO list

39 | 40 |

Todo

41 | 46 | 47 |

Done

48 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /chap13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 19 | 20 | 21 |

TODO list

22 | 23 |

Todo

24 | 29 | 30 |

Done

31 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /chap13/index_1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 44 | 45 | 46 |

TODO list

47 | 48 |

Todo

49 | 54 | 55 |

Done

56 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /chap13/index_2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 37 | 38 | 39 |

TODO list

40 | 41 |

Todo

42 | 47 | 48 |

Done

49 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /chap15/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Mariot Tsitoara 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /chap15/README.md: -------------------------------------------------------------------------------- 1 | # TODO list 2 | A simple app to manage your daily tasks. 3 | It uses HTML5 and CSS3. 4 | 5 | ## Features 6 | * List of daily tasks 7 | 8 | License: MIT 9 | -------------------------------------------------------------------------------- /chap15/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | TODO list 6 | 7 | 8 | 9 |

TODO list

10 | 11 |

Todo

12 | 17 | 18 |

Done

19 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /chap15/style.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | text-align:center; 3 | } 4 | h3 { 5 | text-transform: uppercase; 6 | } 7 | ul { 8 | margin: 0; 9 | padding: 0; 10 | } 11 | ul li { 12 | cursor: pointer; 13 | position: relative; 14 | padding: 12px 8px 12px 40px; 15 | background: #eee; 16 | font-size: 18px; 17 | transition: 0.2s; 18 | -webkit-user-select: none; 19 | -moz-user-select: none; 20 | -ms-user-select: none; 21 | user-select: none; 22 | } 23 | ul li:nth-child(odd) { 24 | background: #f9f9f9; 25 | } 26 | ul li:hover { 27 | background: #ddd; 28 | } 29 | -------------------------------------------------------------------------------- /errata.md: -------------------------------------------------------------------------------- 1 | # Errata for *Book Title* 2 | 3 | On **page xx** [Summary of error]: 4 | 5 | Details of error here. Highlight key pieces in **bold**. 6 | 7 | *** 8 | 9 | On **page xx** [Summary of error]: 10 | 11 | Details of error here. Highlight key pieces in **bold**. 12 | 13 | *** --------------------------------------------------------------------------------