add gitfetches, quick vim updates
This commit is contained in:
parent
7dae6ee474
commit
fd5aabf97f
1 changed files with 15 additions and 0 deletions
15
local/bin/gitfetcher
Executable file
15
local/bin/gitfetcher
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
wd="$(pwd)"
|
||||
temp="$(mktemp)"
|
||||
|
||||
find /data -name '.git' -exec dirname \{\} \; | while read gitrepo; do
|
||||
cd "$gitrepo"
|
||||
echo "$gitrepo"
|
||||
|
||||
git remote | while read remote; do
|
||||
git fetch --prune "$remote"
|
||||
done 2>&1 | sed 's/^/ /'
|
||||
done
|
||||
|
||||
cd "$wd"
|
Loading…
Add table
Add a link
Reference in a new issue