Skip to content

Instantly share code, notes, and snippets.

git filter-branch --force --index-filter \
'git rm -rf --cached --ignore-unmatch kube-config/_old/generated' \
--prune-empty --tag-name-filter cat -- \
--branches=resurrect-runner ^56d977437042cb72d7642c84ae441ea6ac8ab1fa^
#!/bin/bash
git clone --bare https://github.com/larslevie/dotfiles.git $HOME/.dotfiles
function config {
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME
}
mkdir -p .config-backup
config checkout
if [ $? = 0 ]; then
echo "Checked out config.";

Keybase proof

I hereby claim:

  • I am larslevie on github.
  • I am larslevie (https://keybase.io/larslevie) on keybase.
  • I have a public key ASDBGDYEAN2yxA2z4UWM0cCznZBs1y3ErtCXc8fw5mpsOgo

To claim this, I am signing this object:

@larslevie
larslevie / application.scss
Last active August 29, 2015 14:02
Color Highlighter, highlighting bug
@import 'colors';
@import 'foobar';
body {
// Highlighting does not work when importing (line 1)
colors: $primary-medium-gray;
}