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
|
Clone all repositories in file
|
||||||
- `git pullall`
|
- `git pullall`
|
||||||
Pull changes for all repositories in tree
|
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
|
These enable setting up and maintaining multiple development machines with
|
||||||
|
|||||||
@ -56,6 +56,11 @@ wd=$(pwd)
|
|||||||
for dir in "${DIRS[@]}" ; do
|
for dir in "${DIRS[@]}" ; do
|
||||||
dir="${dir%.git}"
|
dir="${dir%.git}"
|
||||||
echo "$dir"
|
echo "$dir"
|
||||||
|
if [ -e "$dir/.pullall-skip" ] ; then
|
||||||
|
echo "skipping..."
|
||||||
|
echo
|
||||||
|
continue
|
||||||
|
fi
|
||||||
cd "$dir"
|
cd "$dir"
|
||||||
git pull
|
git pull
|
||||||
cd "$wd"
|
cd "$wd"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user