Coder Social home page Coder Social logo

github / training-kit Goto Github PK

View Code? Open in Web Editor NEW
4.2K 587.0 4.3K 359.78 MB

Open source courseware for Git and GitHub

Home Page: https://github.github.com/training-kit/

License: Creative Commons Attribution 4.0 International

Ruby 3.09% Shell 1.57% HTML 52.51% SCSS 42.83%
git training cheatsheet fieldservices professionalservices training-kit cheatsheets courseware

training-kit's Introduction

GitHub Training Kit

Open source courseware from the GitHub Professional Services team.

We ❤️ contributors like you

We’re eager to work with you, our user community, to improve these materials and develop new ones. Please check out our CONTRIBUTING guide for more information on getting started.

Looking for a resource that was once housed in training-kit?

This repository currently contains Git and GitHub cheat sheets. If you're looking for a project that used to be housed here, such as On-Demand training, reading lists, videos, and book recommendations, see this commit in the repository's history.

Projects used in training-kit

Packaging for viewing behind your firewall

If you'd like to have a copy of the files to be served from a web server inside your firewall, start by running script/package.

  1. Run script/package to create a release tarball. This will be in the format release-XXXXXXX.tgz for you to take wherever you want.
  2. To test this looks okay, create some folders mkdir -p test_site/kit.
  3. Extract the release, tar -xzf release-XXXXXXX.tgz -C test_site/kit.
  4. Switch into the test_site directory, cd test_site.
  5. View the site:
    • For python version 2.x, run: python -m SimpleHTTPServer
    • For python version 3.x, run: python -m http.server
    • Note: Some servers are more advanced than others and can handle redirects, smart recognition of .html files, etc

Site content is licensed under CC-BY-4.0. CC-BY-4.0 gives you permission to use the content for almost any purpose but does not grant you any trademark permissions, so long as you note the license and give credit, such as follows:

Content based on github.github.com/training-kit/ used under the CC-BY-4.0 license.

Code used to build and test the site as well as code samples on the site, if any, are licensed under CC0-1.0. CC0 waives all copyright restrictions but does not grant you any trademark permissions.

This means you can use the content and code in this repository except for GitHub trademarks in your projects.

When you contribute to this repository you are doing so under the above licenses.

training-kit's People

Contributors

afeld avatar andres-mancera avatar beardofedu avatar bkimminich avatar brianamarie avatar brntbeer avatar crichid avatar dependabot[bot] avatar felipedau avatar ferperales avatar ghaseminya avatar githubstudent avatar hectorsector avatar hollenberry avatar ingilniero avatar janedallaway avatar jasonetco avatar jordanmccullough avatar kamon avatar lmkeston avatar lucie-docs avatar maharramoff avatar mattdavis0351 avatar mirenbz avatar outsideris avatar parkerbxyz avatar r5atom avatar randomecho avatar southgate avatar stoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

training-kit's Issues

Slide-only curriculum option

First raised by @johndbritton, there are frequent uses for the Kit's curriculum pages to consist of exclusively slide-only content without the lab or additional resource materials. Benefits:

  1. Spacebar to advanced down through each slide, chapter
  2. No cursor/mouse/trackpad scrolling needed to move past resource content
  3. Appears more like on-screen slide deck

Support multiple usernames in `?teacher=<name>`

The querystring-parameter that provides the cover page with teacher's GitHub API-provided information should support a CSV. This provides single-page support when more than one instructor is teaching, or co-instructing is occurring.

Release 1.8.0

Tracking issue for Training-Kit release 1.7.x:

- [ ] Intermediate curriculum updates TBD
- [ ] Advanced curriculum updates TBD
- [ ] Longer lived branch examples, slide topics #247

  • Chapter abstracts/summaries
    • Foundations slide deck #258, #292
    • Intermediate slide deck #298
    • Advanced slide deck #299
    • Style improvements in #288 should permit better appearance for this feature
  • Objective list "checkboxes" in slide deck for each class #303
  • Subversion Migration cheat sheet #283
  • Cheat sheets web page as print layout
    • Git Cheat Sheet #295
    • Subversion to Git #293
  • Fix "teacher" mode and slide-only mode toggle bugs #300
  • White space corrections #297

Fleshing out the cheatsheet - Wait on materials or dive in now?

What's the procedure on fleshing out the cheatsheet? Like the Foundations, for example.

Is the idea that it's written up from the sessions and classes you're holding, and the repo is waiting for some breathing time between classes?

Or would it be okay to jump in and add a sentence or two here and there to help add some lines/definitions to the cheat sheet?

Release 1.7.0

This serves as the tracking issue for the upcoming 1.7.0 release of Training-Kit.

  • Foundation curriculum updates #282

- [ ] Intermediate curriculum updates TBD
- [ ] Advanced curriculum updates TBD

  • Liquid include deprecation #287
  • Improved slide styling #288

Subversion to Git Migration cheat sheet PDF review

@github/training-teachers, The first page of the Subversion to Git Migration sheet is starting to feel close to shipping, but I'm looking for inputs on the second (back) sheet with the vocabulary.

I'm all 👂s for what the introductory paragraph might benefit from, raise, or just summarize that the table details out in grid format.

01
02

TOC hidden in Firefox

I'm using Firefox 34.0.5 and the TOC ghosts away when my cursor is not hovering. It works 🅰️-🆗 in Chrome and Safari.

This is what I mean:

training bug

Hope that helps!

.

Sorry about that. Sticky keys and laggy browser auto-created this issue.

problem with Github foundation link in the offline kit

for the offline Kit, the Github Foundations link is not working

see below

Git Foundations
A thorough course on GitHub and Git used in GitHub:Training classrooms

looking at index.html code I found out the cause,

this change is needed
<a href="git-foundations.html">Git Foundations</a> -> <a href="github-foundations.html">Git Foundations</a>

Outdated cheat sheet (PT) PDF file

It's been a while since the PDF file of the Cheat Sheet in Portuguese was built (Jun 9, 2014), but I'm not sure if there is a schedule to build these things. It happens that it does not have the latest version of the md file (Oct 17, 2014).

In the PDF file, one of the descriptions is in Spanish:

$ git branch [nome-do-branch]
Crea una nueva rama

In the source file, it is correct though:

$ git branch [nome-do-branch]
Cria um novo branch

That was the only issue I noticed.

Thanks for the kit!

Support Trainer name page by querystring and GitHub API

The current method for customizing the slide deck with a "Trainer" information page is burdensome.

Let's use a querystring for specifying a GitHub user's name (the teacher) and then utilizing the GitHub API to pull the public info for building this page instead.

Example:
https://training.github.com/kit/slides/github-foundations.html?gh_user=brntbeer

Git Cheat Sheet Japanese PDF Layout, Content

@hissy and @dice:

I have completed the initial copy-paste of the Japanese Markdown file's content into the Git Cheat Sheet PDF layout.

The text areas were adjusted where possible for the length of the text, including the larger box in the トラッキングの制限 section. However, some text runs longer than the original design planned.

I can adapt the layout to fit the text if needed. However, is there a possibility to restructure and shorten the content of these sections? This is coming from someone unfamiliar with the language of 🗾. 😄

Arrows identifying the descriptions that currently spill out of design boxes:

git-cheat-sheet-ja-1
git-cheat-sheet-ja-2

Up and Running workshop guide?

I've been writing up a teacher-focused guide for the "Git & GitHub, Up & Running" workshop I've been doing, and was wondering about the best place for that to live. The slides/concepts are a subset of the Foundations class, but I think the format is fairly different, in that they are all building a personal Pages site, and then doing a pull request to each others' repositories to add an "interesting fact" about that person.

Would it be fair to say that the workbooks on the site are student-focused, rather than intended for the person who runs the workshop? I was going to start a pull request to add this third class type to the Materials page, but am curious to hear if others think it would be a good fit. Thanks!

Minify JS and CSS

All JS and CSS involved in the Kit and Slides need minified for more efficient transport.

Buildscript for generating update CSS from SASS

Per the discussion here, an easy to use buildscript should be available to generate any CSS artifacts from updated SASS files.

A plus would be if the script also uses the necessary SASS switches to compact the CSS and generated simplest possible output (no comments, whitespace, etc.).

Alt+Click does not work

Some recent change to the layout or overlay in the slides prevent the useful alt+click support of RevealJS.

Tweak home page layout

Now that the Training-Materials repo has more established content, the access and layout of the home page needs additional attention. This initial Issue serves as a reminder to visit this design revision effort 🔜.

Description / Mention of Longer lived branch workflow

I've taught a few people a version of the GitHub flow that uses longer lived branches, wondering if there's a place in the workflow section of Advanced for us to describe this?

This is also the workflow that we'll be using for this repo moving forward i believe.

H3 headings are eaten in silence in workbook

On the workbook it looks like the subheadings (###) are being eaten up by the parser that handles hiding away the ###Details sections between "Summary" and "Details" views.

jelly fish pointing out lack of h3

In this screenshot example, it's missing "Checking for remotes" and "Adding an upstream".

Responsive (tablet) friendly design

In addition to the generic desktop friendly design, some adjustments to the stylesheet after #46 completes would help with different screen sizes.

This also has the advantage of making the Workbook content more useful as supplementary when Training Kit users are presenting and keep the content open on a tablet while using the desktop for the slides projection.

A Beginner's Request

Dear GitHub Training,

I have used github before to simply modify a java thing for minecraft. I had total step by step instructions.

Now, I want to learn how to create my own programs using github, but other than the above I haven't programmed a thing in my life.

I tried to complerte the lesson that gives out badges but it crashed and I can't get it back...

I would very much like it if you could possibly create new forks for the different training leves, in one file pocket, like Begin here, Intermediate here, and advanced here...

Also, if possible, can these be further divided by language?

No, Not Eng Fr Spa; but C++ Python, Java... etc?

Can anyone help?
Leah

ES Cheat Sheet Fine Tuning for Text Spillover

@leereilly, any thoughts on how we might best shorten some of the EN-->ES Git translations?

If at all possible, I'd ❤️ not needing to wrap any of the command descriptions to two lines. The first pass to resolve this was shrinking the page margins down to 0.25", and from a design standpoint, I dare not go any closer.

The font size is already near the lower limit, so I made the call that shrinking below 9pt is probably not an optimal solution.

The commands with the longer descriptions include these (also shown in the page PNGs below):

git config --global user.name

git diff

git diff --staged

git commit -m

git rm

git rm --cached

git log --follow

git reset

github-git-cheat-sheet-v1 1 1-es 1
github-git-cheat-sheet-v1 1 1-es 1-p2

Support internationalization

Objectives

  • Add language field to YAML frontmatter
  • Update template for HTML to definte lang attribute
  • Include language toggle/list for all docs translated

Method

  • Copy content to ISO named sub-folders

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.