reddup icon indicating copy to clipboard operation
reddup copied to clipboard

Git pull and hooks

Open dariooddenino opened this issue 4 years ago • 1 comments

I was thinking yesterday of automating a bit the handling of dotfiles with stow, but then I remembered about reddup! I think that this could be done with two "simple" changes:

  • Add the ability to pull new changes from remote repositories automatically (from the docs it seems like it's not there)
  • Add hooks (which could just be simple bash commands)

For example (pseudo syntax):

locations:
  - type: git
    location: ~/.dotfiles
    pull: true
    on_pull: 
      - `stow my stuff` 

dariooddenino avatar Aug 24 '20 08:08 dariooddenino

nice! I like it. I think we can make it happen.

joelmccracken avatar Aug 25 '20 13:08 joelmccracken