mirror of
https://github.com/flynx/git-utils.git
synced 2026-11-17 16:31:36 +00:00
Compare commits
2 Commits
a7ce6f1c88
...
6c198e13a2
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c198e13a2 | |||
| e0d0e4bb4a |
@ -10,6 +10,8 @@ Provided commands:
|
||||
Clone all repositories in file
|
||||
- `git pullall`
|
||||
Pull changes for all repositories in tree
|
||||
If `.pullall-skip` file exists in the repository root, `git-pullall`
|
||||
will skip pulling it
|
||||
|
||||
|
||||
These enable setting up and maintaining multiple development machines with
|
||||
|
||||
@ -56,6 +56,11 @@ wd=$(pwd)
|
||||
for dir in "${DIRS[@]}" ; do
|
||||
dir="${dir%.git}"
|
||||
echo "$dir"
|
||||
if [ -e "$dir/.pullall-skip" ] ; then
|
||||
echo "skipping..."
|
||||
echo
|
||||
continue
|
||||
fi
|
||||
cd "$dir"
|
||||
git pull
|
||||
cd "$wd"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user