Skip to content

Instantly share code, notes, and snippets.

View peteraritchie's full-sized avatar
😖

Peter Ritchie peteraritchie

😖
View GitHub Profile
@peteraritchie
peteraritchie / ThroatPunchList.md
Last active June 3, 2017 01:09 — forked from mjeaton/ThroatPunchList.md
Jerk faces who need to receive throat punches

Some of these people are my friends. Except maybe Darby. He's undetermined.

  1. Jay
  2. Darby
  3. Jim
  4. Strauss

For Jim

CREATE

Clone an existing repository

$ git clone ssh://user@domain.com/repo.git

Create a new local repository

$ git init

LOCAL CHANGES

@peteraritchie
peteraritchie / Branching.md
Created May 25, 2021 16:02 — forked from deskoh/Branching.md
GIT Cheatsheet

Local Branching

# Checkout new branch
:master> git checkout -b new-feature

# Feature completed.

# Update local master branch
:new-feature> git checkout master
extends: [[spectral:oas, all]]
rules:
# Default spectral OAS rules
# https://stoplight.io/p/docs/gh/stoplightio/spectral/docs/reference/openapi-rules.md
oas3-unused-components-schema: false
operation-default-response: false
# Custom rules
tag-descriptions:
description: Tags must have a description.
given: $.tags[*]