mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-22 18:07:11 +00:00
1.7 KiB
1.7 KiB
The repo subcommands of navi
Commands Reference
| Command | Description |
|---|---|
| add | Lets you import a cheatsheet repository |
| browser | Lets you browse through a curated list of cheatsheet repositories |
Browsing through cheatsheet repositories
Navi lets you browse featured GitHub repositories registered in @denisidoro/cheats/featured_repos.txt.
You can find them within navi with the following command:
navi repo browse
Importing cheatsheet repositories
You can import cheatsheet repositories using a working git-clone format.
This includes using an HTTPS URL or an SSH URI.
-
Import using HTTPS
navi repo add https://github.com/denisidoro/cheats -
Import using SSH
navi repo add git@github.com:denisidoro/cheats
Caution
Despite
$NAVI_PATHbeing set, it will not be used when installing cheat sheets directly via navi's own commands.
For example when runningnavi add repo <repo>, the default paths will still be used.To avoid this, you may simply clone repos via a regular
git clonecommand, directly into$NAVI_PATH.