Skip to content

Instantly share code, notes, and snippets.

View QuingKhaos's full-sized avatar

Em Karisch QuingKhaos

View GitHub Profile
@QuingKhaos
QuingKhaos / github-merge.sh
Last active February 3, 2018 23:46
Script to merge GitHub pull requests remotely, while inspecting & signing them.
#!/bin/bash
# This script will locally construct a merge commit for a pull request on a
# github repository, inspect it, sign it and optionally push it.
# The following temporary branches are created/overwritten and deleted:
# * pull/$PULL/base (the current master we're merging onto)
# * pull/$PULL/head (the current state of the remote pull request)
# * pull/$PULL/merge (github's merge)
# * pull/$PULL/local-merge (our merge)
@QuingKhaos
QuingKhaos / Contract Killer 3.md
Last active July 5, 2016 08:49 — forked from schilke/Contract Killer 3.md
German translation of Andy Clarke's popular ‘killer contract’ for web professionals
@QuingKhaos
QuingKhaos / git_svn_bash_prompt.sh
Last active April 26, 2018 09:52 — forked from woods/git_svn_bash_prompt.sh
Set color bash prompt according to git/svn branch, and return status of last command. Now with better readable colors, much cooler shell prompt and xterm title override.
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the branch/status of the current git repository
# * the branch of the current subversion repository
# * the return value of the previous command
#
# USAGE: