Skip to content

Instantly share code, notes, and snippets.

@coridrew
coridrew / gcloud-deis-setup.sh
Created August 5, 2020 16:56 — forked from dhilipsiva/gcloud-deis-setup.sh
A script to provision GCE for setting up Deis
#! /bin/bash
#
# create_instances.sh
# Copyright (C) 2016 dhilipsiva <dhilipsiva@gmail.com>
#
# Distributed under terms of the MIT license.
#
INSTANCES=3
PREFIX_APP="deisdemo-"
[user]
name = YOUR NAME
email = YOUR EMAIL
[core]
editor = code --wait
hooksPath = /Users/YOUR-USER-FOLDER/hooks
mergeoptions = --no-edit
[diff]
tool = p4merge
stat = true
@coridrew
coridrew / gitk_commands.md
Last active February 6, 2023 16:04
gitk is my favorite git gui, and is available on all platforms for free. Here are some of the helpful switches I've learned over the years.

> gitk -> Visualize current working directory / branch only.

> gitk --reflog -> VISUALIZE YOUR REFLOG! OMG! Thanks @Stjaertfena

> gitk --all -> Visualize current working directory & ALL branches (both local and remote).

> gitk --remotes -> Visualize ALL REMOTE branches only.

> gitk --remotes=origin/cd_* -> Visualize SPECIFIC (pattern-based!) REMOTE branches only.