github.com/dannyzhou2015/migrate/v4@v4.15.2/source/github/README.md (about) 1 # github 2 3 This driver is catered for those that want to source migrations from [github.com](https://github.com). The URL scheme doesn't require a hostname, as it just simply defaults to `github.com`. 4 5 Authenticated client: `github://user:personal-access-token@owner/repo/path#ref` 6 7 Unauthenticated client: `github://owner/repo/path#ref` 8 9 | URL Query | WithInstance Config | Description | 10 |------------|---------------------|-------------| 11 | user | | (optional) The username of the user connecting | 12 | personal-access-token | | (optional) An access token from GitHub (https://github.com/settings/tokens) | 13 | owner | | the repo owner | 14 | repo | | the name of the repository | 15 | path | | path in repo to migrations | 16 | ref | | (optional) can be a SHA, branch, or tag |