Skip to content

Instantly share code, notes, and snippets.

@tobbez
tobbez / gist:5c2a2ea0fcdc68ca627a
Created March 2, 2016 08:27 — forked from calkan/gist:eaad0bc4458da16a72dd
Michael Hoffman's crazy bash_history backer upper on git
1 - Create a *private* GitHub/Bitbucket or similar git repo. Here I assume the repo is:
https://github.com/calkan/bash_history.git
2 - Create .history directory and initialize it for the repo:
mkdir $HOME/.history
cd $HOME/.history
git init
touch README.md