Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 2.35 KB

README.md

File metadata and controls

46 lines (40 loc) · 2.35 KB

GHOrgSync

Python script (and module) to clone and update (pull) repositories at a GitHub organization site to local repository directories. Connects to GitHub as the current user. Private repositories can be seen, cloned, and updated if appropriate conditions are met.

Legal Disclaimer

This repository is a software product and is not official communication of the National Oceanic and Atmospheric Administration (NOAA), or the United States Department of Commerce (DOC). All NOAA GitHub project code is provided on an 'as is' basis and the user assumes responsibility for its use. Any claims against the DOC or DOC bureaus stemming from the use of this GitHub project will be governed by all applicable Federal law. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation, or favoring by the DOC. The DOC seal and logo, or the seal and logo of a DOC bureau, shall not be used in any manner to imply endorsement of any commercial product or activity by the DOC or the United States Government.

To See Private Repositories:

Usage:

    ghorgsync.py  orgname  localdir

  where:

    orgname   is the GitHub organization name (e.g., NOAA-PMEL)  
    localdir  is the full-path of the directory containing a 'private'
              and a 'public' subdirectory which will contain the cloned   
              private and public, respectively, repository subdirectories