Skip to content

Instantly share code, notes, and snippets.

View ethomson's full-sized avatar
:shipit:

Edward Thomson ethomson

:shipit:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ethomson on github.
  • I am ethomson (https://keybase.io/ethomson) on keybase.
  • I have a public key whose fingerprint is 3D70 FAC9 2328 2E35 0E6B D074 9526 1E36 403C 1FC0

To claim this, I am signing this object:

#!/bin/sh
set -e
# clone a bare repository, because even with `--no-checkout`, clone will create a
# folder for a working directory, and it will ignore the `--git-dir` option.
# but the restore all the configuration that would be there.
git clone --bare git@github.com:/ethomson/dotfiles .dotfiles.git
git --git-dir=.dotfiles.git config core.bare false
git --git-dir=.dotfiles.git config push.default simple
@ethomson
ethomson / rewrite-lg2s.sh
Created October 21, 2016 09:48 — forked from carlosmn/rewrite-lg2s.sh
An extremely case-specific implementation of git-filter-branch
#!/bin/bash
# It's no libgit2, but it's pretty useful
. $(git --exec-path)/git-sh-setup
cd_to_toplevel
require_clean_work_tree
set -e
#!/bin/sh
set -eufo pipefail
if [ "$#" -ne 2 ]; then
echo "usage: $0 source_repo_url target_repo_url" >&2
exit 1
fi
SOURCE_URL="$1"
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test
name: CI
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
# test
name: CI
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
name: CI
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install ninja-build
- run: ninja --version
name: CI
on: push
jobs:
linux:
strategy:
matrix:
container:
- 'debian:7'
name: CI
on: push
jobs:
linux:
strategy:
matrix:
container:
- 'debian:7'