Skip to content

Automate the update of all repos #5

Description

@jaycody

Add a function to jayci_utilities.sh that is functionally equivalent to the following:

#! /bin/bash
#
# git pull to update the listed repos
#

jayjaycodyDir=/jayjaycody

repos="hci_qa hci_qa.wiki jaycodylab.com jayjaycody.github.io jayjaycody.github.io.wiki lamp-stack lamp-stack.wiki mypy mypy.wiki nature-of-code-examples nodejs starnb.com swift test-automation test-automation.wiki wear web-app-tests web-dev web-dev.wiki"

for i in $repos
do
	echo "*** Updating $i ***"
	cd "$jayjaycodyDir/$i"
	git pull --no-edit
	echo ""
done


for i in $repos
do
	echo "*** Git Status for $i ***"
	cd "$jayjaycodyDir/$i"
	git status
	echo ""
done

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P5backlog

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions