mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
docs(readme): set origin when bootstrapping lazy.nvim
If you set a different default remote in your global git config, e.g. ``` [clone] defaultRemoteName = "up" ``` then the default git command clones using that remote, which confuses lazy.nvim's update system later. Looks like actual plugins are handled properly.
This commit is contained in:
parent
2a9354c7d2
commit
56e766b95b
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ if not vim.loop.fs_stat(lazypath) then
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
"--filter=blob:none",
|
"--filter=blob:none",
|
||||||
|
"--origin=origin",
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
"--branch=stable", -- latest stable release
|
"--branch=stable", -- latest stable release
|
||||||
lazypath,
|
lazypath,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue