mirror of
https://github.com/outbackdingo/ghorg.git
synced 2026-01-27 10:19:03 +00:00
17ade710f22c7306b4f33371ae82950e90a487ef
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.
Use
- $ ghorg org
NOTE: When ran ghorg will overwrite any local changes. If you are using ghorg to create a directory to work out of, make sure you rename the directory 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
- $ make install
- $ go install
Get Existing GitHub Token
$ security find-internet-password -s github.com | grep "acct" | awk -F\" '{ print $4 }'
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%