mirror of
https://github.com/outbackdingo/ghorg.git
synced 2026-01-28 02:18:59 +00:00
d727faa757559614f00ade1a2a793f9cd30700bc
ghorg
GitHub search is terrible. The idea with ghorg is to quickly clone all org repos into a single directory and use something like ack to search.
When running ghorg a second time, all local changes in your *_ghorg directory will be overwritten by whats on GitHub. If you are working out of this directory, make sure you rename it before running a second time.
Setup
$ go get -u github.com/gabrie30/ghorg
$ cd $HOME/go/src/github.com/gabrie30/ghorg
$ cp .env-sample .env
# update your .env
# If GITHUB_TOKEN is not set in .ghorg, defaults to keychain, see below
$ make install
$ go install
Use
$ ghorg org
Default GitHub Token Used
$ security find-internet-password -s github.com | grep "acct" | awk -F\" '{ print $4 }'
If running this does not return the correct key you will need to generate a token via GithHub and add it to your .env
Auth through SSO
- If org is behind SSO a normal token will not work. You will need to add SSO to the Github token
Description
Languages
Go
71.1%
Shell
27.2%
Dockerfile
0.7%
Ruby
0.5%
Makefile
0.2%
Other
0.3%