Skip to content

Instantly share code, notes, and snippets.

View githubteacher's full-sized avatar

GitHub Teacher githubteacher

View GitHub Profile
@githubteacher
githubteacher / Øredev-git-workshop.md
Created November 6, 2012 15:59
Øredev Git Workshop

Øredev Git Workshop

  • Some philosophical thoughts
  • Configuration
    • git config --global user.name "Name"
    • git config --global user.email "email@address.com"
    • git config --global color.ui auto
  • Creating a Repo
    • git init newproject
  • Add files
@githubteacher
githubteacher / git-loglive
Created February 26, 2013 11:38
A Git command to display a live log. Put this file in your path, make it executable, and run "git loglive"
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
sleep 1
done
@githubteacher
githubteacher / git-loglive.sh
Last active December 24, 2015 17:09
A nifty log command useful for studying branching, merging, rebasing, et al.
#!/bin/bash
while :
do
clear
git --no-pager log --graph --oneline --decorate --all $*
sleep 1
done
@githubteacher
githubteacher / bus-map.geojson
Created October 26, 2013 14:32
Map of the StartupBus EU locations and city stops
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
(ns cow.model
(:require [cow.math :as math]))
(def cow-count 25)
(def max-starting-velocity 0.01)
(def cow-id (atom 0))
(defn random-cow []
(let [random-velocity (fn [] (- max-starting-velocity (rand (* 2 max-starting-velocity))))
@githubteacher
githubteacher / sample.md
Created February 19, 2014 13:59
A simple Markdown example

Header one

Body text

@githubteacher
githubteacher / questions.md
Last active August 29, 2015 13:58
Great Wide Open - Workflows, Collaboration & GitHub

Workflows & Collaboration

  • Merging
  • Dependencies across projeces
  • Forking vs. merging and cloning
  • Feature branching
  • Release management
  • Conflict resolution
  • Bug tracking
  • Sharing environment config
@githubteacher
githubteacher / sample.md
Created April 29, 2014 22:34
A simple Markdown example

Header one

Body text

  • 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

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