▲ | gitaarik 5 days ago | |||||||
Yeah and if you have 10 plugins you have to go into each folder and git pull. Then you might want to write a script for that. Or just use a plugin manager ;) | ||||||||
▲ | freedomben 5 days ago | parent | next [-] | |||||||
I just wrote a simple bash script that has an array at the top with all the git remotes, and it iterates through them and git pulls (or clones if it doesn't exist yet). Took me like 10 minutes to write ~15 years ago and hasn't needed any changes. I can also trivially add a new entry to the array if I want to add a new plugin, or delete one if I'm not using it anymore. Then I also have a history of everything that changed so I can easily roll back if something breaks (which has happened several times) | ||||||||
▲ | dboon 5 days ago | parent | prev [-] | |||||||
git submodule update —init | ||||||||
|