This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "First parameter is a file with a list of repos git-batch-upstream-branch-update repos.txt" | |
fi | |
ROOTDIR=$(pwd) | |
cd $ROOTDIR | |
cat $1 | while read line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 1 ]; then | |
echo "First parameter is a file with a list of repos and second parameter (optional) is git path e.g. git-batch-upstream repos.txt git@github.com:sandrokeil/" | |
fi | |
ROOTDIR=$(pwd) | |
cd $ROOTDIR | |
cat $1 | while read line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ "$#" -ne 2 ]; then | |
echo "First parameter is a file with a list of repos and second parameter is the git path e.g. git-batch-clone repos.txt git@github.com:sandrokeil/" | |
fi | |
cd $(pwd) | |
cat $1 | while read line | |
do | |
if [ ! -d "$line" ]; then |
NewerOlder