dots/.bin/save-wiki

7 lines
121 B
Bash
Executable File

#!/usr/bin/env bash
cd "$HOME/.wiki" || echo "No .vimwiki directory found"
git a "$HOME/.wiki"
git cm 'Update'
git push