- Brighton, UK
- http://spmason.com
Pinned Loading
-
GitHub "open PR" script. Add somewhe...
GitHub "open PR" script. Add somewhere in your path, then opening a PR is as easy as typing `pr` on the branch you want to open a PR for 1#!/usr/bin/env bash
23# GitHub "Open Pull Request" script
4#
5# Add somewhere in your path, then opening a PR is as easy as typing `pr` while you're
-
Command for working with k8s context...
Command for working with k8s contexts without needing to use kubectx or similar 1#!/bin/bash
2set -ue -o pipefail
34CLUSTER=$1
5shift
-
Checkout PRs. I'm not sure where I g...
Checkout PRs. I'm not sure where I got this from but I can't take credit for it 1# Checks out a PR to a pr/<number> local branch
2# Usage: git pr <number> [<upstream>]
3git config --global alias.pr '!git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1 && :'
45# Deletes pr/<number> branches
-
Kubernetes helper scripts
Kubernetes helper scripts 1#!/bin/bash
2#
3# A generic command that makes it easy to run k9s against a specific cluster
4# - without messing around with contexts (like kubectx does), eg:
5#
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.