Just a little git hook to sync password repositories.
This file supports my YouTube video, which lives here: https://youtu.be/2Ji7Ph8atus
Just a little git hook to sync password repositories.
This file supports my YouTube video, which lives here: https://youtu.be/2Ji7Ph8atus
| #!/bin/sh | |
| echo | |
| echo "**** Pulling changes into password store" | |
| echo | |
| cd ~/.password-store/ || exit | |
| unset GIT_DIR | |
| git pull hub master | |
| exec git-update-server-info |