Seal of Good Local Governance (SGLG) 2024Final.pptx
EdTechJoker Spring 2020 - Lecture 2 - Git
1. Git / version control
the backbone of most dev
Git
github
Github.com
Bryan Ollendyke
[at]btopro
Developer Activist
2.
3. Today’s Topic / What you'll learn about
- git https://git-scm.com
- How developers work together using git
- What a pull request look like
- How to collaborate effectively on github
- Alternatives to github
- What to look for in a healthy project
- How to write / what is markdown
Git
Version
control
4. Terms / definitions for today
- git
- FOSS
- Markdown / MD
- SaaS
Git
Version
control
5. Terms / definitions for today
- git – command line version control system
we’ll experience this the most today
- FOSS – Free, Open Source Software
Free is important since things could be
open source yet not actually be free use
- Markdown / MD – text annotation /
enhancement via simple character
association surrounding text
- SaaS – Software as a Service, a platform
offering methodology where users get
access to software and pay in a service
oriented manner
Git
Version
control
6. Who’s using Git / Alternatives
- Not everyone.. But basically everyone
- Subversion / SVN is an alternative
version control system
- Github’s ease of use + Linux using git
really caused it to take off
- Replication / stability in large networks
or decentralization of approaches also
benefits git
Git
Version
control
7. SVN vs Git
Erica Chang - https://hackbrightacademy.com/blog/svn-vs-git/
8. Who uses git in their day to day
- DevOps / sys admins – for configuration
or automation files
- System programmers – per change or per
feature for code
- Front end – JavaScript / HTML files
- Designer – CSS / images / graphics
- Managers – Typically just via code
management platforms like github / gitlab
Git
Version
control
9. Gitlab
- Github is NOT open source itself
- Github SaaS USED for FOSS hosting
- GitLab Open source alternative + SaaS
- Gitlab provides similar capabilities and
ripped off many of its features as open
- Github advantage
- free service, can pay for more features
- private repos / unified dev
- owned by Microsoft (as of 2018)
- Gitlab advantages
- can run internal to organization
- advanced CI workflow capabilities
- Organizational logins (PSU uses this)
Git
Version
control
10. What git looks like
- terminal / command line program
- Basic usage / hello-world
- mkdir hello-world
- cd hello-world
- touch README.md
- git init
- git add –A
- git commit –m “documenting a change made”
- git push origin master
Git
Version
control
11. Why Github “won” for most FOSS projects
- https://desktop.github.com/
- Desktop apps for all platforms to make
git visual / approachable
- github repos themselves are very clean
- easy to “see” where you are in code
- Many languages visualized / color coded
in browser
- Able to click “edit” on any file and
modify it in browser and make “commit”
- Issues / Pull Requests / Releases
- Organizes process of code organization
- ”PR” / “Fork” workflow is amazing
- Release management / “tag” easy to view
Github
12.
13.
14.
15.
16.
17. Project Health
As part of an “Incubation process” with
Apereo Foundation I had to add several
things required for a healthy software
project.
Let’s look quickly at some of those as they
can be relevant to any project on github.
Apereo.org
18.
19.
20.
21. Useful links / learning more
- https://github.com/- make an account!
- https://desktop.github.com/ - desktop app
- https://gist.github.com/ - snippet
storage that’s git based
- https://www.markdownguide.org/
cheat sheet and explanations
- https://github.com/jlord/git-it-electron
Desktop app to help setup git
- https://hackbrightacademy.com/blog/svn-vs-git/
Nice write up of SVN vs Git at high level
Github
22.
23. What we’ll do now
- See how my team uses Github / git every
day
- make a Pull Request against our course
content itself!
https://github.com/btopro/ist402
- Fork and do an in class activity
- Lab time creating a glossary as a course
Github
24. Git
Showing live examples
from a real project
then live workflow
then Hands on
Git
Github.com
Bryan Ollendyke
[at]btopro
Notas del editor
Icon created by Creative Stall from the Noun Project
Icon created by Creative Stall from the Noun Project