mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
15 lines
389 B
Bash
Executable File
15 lines
389 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Updates subfolders git projects.
|
|
#
|
|
# Actions taken: pull with rebase, autostashes own changes
|
|
# and prunes branches no longer in the remote.
|
|
#
|
|
# Copyright (c) 2023 Ismo Vuorinen. All Rights Reserved.
|
|
# License: MIT <https://opensource.org/license/mit/>
|
|
|
|
for f in */; do (cd "$f" && echo "-> $f" && git pull --rebase --autostash --prune); done
|
|
|
|
echo "Done."
|
|
echo ""
|