Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git pull and hooks #15

Open
dariooddenino opened this issue Aug 24, 2020 · 1 comment
Open

Git pull and hooks #15

dariooddenino opened this issue Aug 24, 2020 · 1 comment

Comments

@dariooddenino
Copy link

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` 
@joelmccracken
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants