💻
Dev Notes
  • Dev notes
  • Back end
  • books
  • Front End
  • Platforms in which you can improve your skills
  • Run local Jekyll site
  • Recommended podcasts you should listen to
  • Tools
  • code
    • REST
  • docker
    • Docker cli commands
  • git
    • Changing author info
    • Working with Github organizations
    • Working with upstream
  • npm
    • NPM cli
  • unix
    • Mac OS
    • Raspberry Pi
    • Terminal
Powered by GitBook
On this page

Was this helpful?

  1. git

Working with Github organizations

# set full read permissions if you want to clone as well private repositories
export GITHUB_ACCESS_TOKEN=
export GITHUB_ORGANIZATION=
curl -s https://$GITHUB_ACCESS_TOKEN:@api.github.com/orgs/$GITHUB_ORGANIZATION/repos?per_page=200 | jq '.[].ssh_url' | xargs -n 1 git clone

Change the ssh key for a single repository

git config --add --local core.sshCommand 'ssh -i ~/.ssh/another_id_rsa`
PreviousChanging author infoNextWorking with upstream

Last updated 2 years ago

Was this helpful?