Discover Packages
github.com/damacus/clone-org-repos
command
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Apr 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Clone Organisation Repoistories
Clones or updates repositories from a GitHub organisation to local disk
Prerequisites
Set a GITHUB_TOKEN
environment variable to one which can pull from all the repositories you need
Usage
clone-org-repos has 2 arguments:
org
, -o
, Name of the org you wish to checkout, Required.
path
, -p
, Path to checkout repositories to, Optional, if not supplied it defaults to user's home directory
$ ./clone-org-repos -o sous-chefs
Cloning repository: rvm
SSH CLone URL: git@github.com:sous-chefs/rvm.git
git pull origin
commit 84ce9add8a421f278830ffb7192fc7d9b0e82438
Author: Lance Albertson <lance@osuosl.org>
Date: Thu Oct 08 09:09:37 2020 -0700
Merge pull request #406 from sous-chefs/automated/standardfiles
Automated PR: Standardising Files
$ ./clone-org-repos -o sous-chefs -p ~/mydevfolder/sous-chefs
Cloning repository: rvm
SSH CLone URL: git@github.com:sous-chefs/rvm.git
git pull origin
commit 84ce9add8a421f278830ffb7192fc7d9b0e82438
Author: Lance Albertson <lance@osuosl.org>
Date: Thu Oct 08 09:09:37 2020 -0700
Merge pull request #406 from sous-chefs/automated/standardfiles
Automated PR: Standardising Files
Expand ▾
Collapse ▴
Documentation
¶
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.