Helper scripts for workspace management.
- Create .env in root folder (
node-dev-scripts/.env) with the following variables:- ACCESS_TOKEN
- Github personal access token.
- OLD_ORG
- The organization name you want to transfer repos away from.
- NEW_ORG
- The organization name you want to transfer repos to.
- ACCESS_TOKEN
- Run
npm installto install dependencies. - Start with
node .ornode index.js.
- Create .env in root folder (
node-dev-scripts/.env) with the following variables:- ACCESS_TOKEN
- Github personal access token.
- DIRECTORY
- Where all the repository folders are located.
- ORG_NAME
- GitHub organization name for creating .git URL that origin will be changed to.
- SSH (Optional)
- Set to TRUE if you would like your links to use SSH.
- ACCESS_TOKEN
- Run
npm installto install dependencies. - Start with
node change-remote-urls.js
- Create .env in root folder (
node-dev-scripts/.env) with the following variables:- ACCESS_TOKEN
- Github personal access token.
- ORG_DIR
- Where you would like all organization repos to be cloned in to.
- ORG_NAME
- GitHub organization name for fetching available repos.
- SSH (Optional)
- Set to TRUE if you would like your links to use SSH.
- ACCESS_TOKEN
- Run
npm installto install dependencies. - Start with
node change-remote-urls.js
- Create .env in root folder (
node-dev-scripts/.env) with the following variables:- DIR
- Directory of repos to pull.
- DIR
- Run
npm installto install dependencies. - Start with
node bulk-pull.js
- Create .env in root folder (
node-dev-scripts/.env) with the following variables:- WORKSPACE_PATH
- Absolute path where your workspace folders are + where the .code-workspace file will be saved.
- WORKSPACE_NAME
- What you would like to name the .code-workspace file.
- WORKSPACE_PATH
- Run
npm installto install dependencies. - Start with
node change-remote-urls.js