Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,15 @@ GITHUB_TOKEN= gh auth login

`gh` must store the credentials so it can work in a subshell.

**Why am I getting authentication error from gh? Part 2**

It is possible that Octo is trying to authenticate against the origin listed in your repository's config (.git/config) which _could be_ an _ssh alias_ to _github.com_. To properly let octo.nvim know about the ssh alias, you need to list it in the config per above. Example:
```lua
require('octo').setup({
ssh_aliases = {["<THE ALIAS YOU HAVE LISTED IN ~/.ssh/config>"] = "github.com"}
})
```

**Can I use treesitter markdown parser with octo buffers?**

Just add the following lines to your TreeSitter config:
Expand Down