TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
5.07k stars 176 forks source link

Can I commit without being prompted? #378

Closed rizzini closed 2 years ago

rizzini commented 2 years ago

I always put the same text in all my commits, since I don't care for them.

lucacavallaro commented 2 years ago

Yep, you can add a hook which is run before every yadm push command (pre_push) that commits all changes with your default message (yadm commit -m "atualizando")

rizzini commented 2 years ago

That was exactly what I was looking for. Thanks!! I added -a to the commit command.

I did it on both repositories

Dotfiles:

Dotfiles.system: