Skip to content

Instantly share code, notes, and snippets.

View githubteacher's full-sized avatar

GitHub Teacher githubteacher

View GitHub Profile
{
"version": "2.1.0",
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
"runs": [
{
"tool": {
"driver": {
"name": "Brakeman",
"informationUri": "https://brakemanscanner.org",
"semanticVersion": "4.10.0",
@githubteacher
githubteacher / git-understanding-qs.md
Created November 13, 2019 15:27
Questions to check your understanding of some Git and GitHub concepts.

Beginner: Check for understanding

  1. (multiple answer) Git is:

    • a. A version control system
    • b. Centralized
    • c. Distributed
    • d. The same as GitHub
  2. (T/F) Git and GitHub are the same thing.

@githubteacher
githubteacher / learning-lab-description.md
Last active January 18, 2021 08:53
A description for the Learning Lab GitHub App

Level up your GitHub skills with GitHub Learning Lab. Our friendly bot will take you through a series of fun, practical projects that will give you the skills you need in no time--and share helpful feedback along the way.

  • Learn the way you work: Work directly in the GitHub repositories, issues, and pull requests with guidance and feedback from our bot
  • Pick up new skills: Discover new challenges and learn how to work better with GitHub Track your accomplishments: See the courses you’ve completed on your profile page

Getting started with GitHub Learning Lab

Install GitHub Learning Lab as you would install any GitHub App. GitHub Apps take extra steps to be respectful of your privacy but require a little bit of setup to get started.

Hello Norman

This is a test of Markdown

  • Bullet list
  • Item one
  • Item two
@githubteacher
githubteacher / show-branch.md
Created February 29, 2016 20:59
Adding your Git branch to your command prompt

To show your active Git branch in your command prompt, you will need to do the following:

  • If you are on a Mac, you can add the code shown below to your .bash_profile file.
  • If you are on Linux, you will add the code shown below to your .bashrc file.
  • If you are on Windows, you probably aren't reading this because Windows provides this behavior by default.

The Script

parse_git_branch() {
test

Ideas here

  • Creating repos on GitHub.com
  • Creating branches on GitHub.com
  • Opened Pull Requests on GitHub.com
  • Workflows
    • Mapping this to real world process
    • GitHub Flow
    • Git Flow
  • Permissions
  • Git and initial setup
  • Git configuration
  • Your first repository
  • Git's three stages
  • Adding and committing
  • Overview of Git's Architecture
  • Reviewing and diff-ing content changes
  • Network protocols, proxies, and Git's speed
  • Branching, Tagging, and Stashing
  • Merging, Rebasing, and managing conflicts