This one is just for me so I don’t forget this “one-liner”. Updates all git repositories in direct subdirectories. Works on OS X :)
cwd=$(pwd); for dir in $(find . -type d -not -name '\.*' -maxdepth 1 -print); \
(current_dir="$cwd/${dir##./}"; echo "Updating $current_dir"; \
cd $current_dir; git pull --all;)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Last update on 2025-07-03.
Built by dhiller
using
Atom (editor),
Jekyll (site builder),
OneDark vivid (syntax highlighting theme),
Webjeda (related posts),
Disqus (discussions),
Github Pages (hosting),
Cloudflare (DNS).