mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 05:20:38 +00:00
utils/update_nvchad: Use --rebase instead of --ff-only
This commit is contained in:
parent
5fab35f2e1
commit
3ccd804da9
1 changed files with 2 additions and 2 deletions
|
@ -487,12 +487,12 @@ M.update_nvchad = function()
|
|||
end
|
||||
|
||||
-- git commands that will executed, reset in case config was modfied
|
||||
-- use --ff-only to not mess up if the local repo is outdated
|
||||
-- use --rebase, to not mess up if the local repo is outdated
|
||||
local update_script = table.concat({
|
||||
"git reset --hard && git pull --set-upstream",
|
||||
update_url,
|
||||
update_branch,
|
||||
"--ff-only",
|
||||
"--rebase",
|
||||
}, " ")
|
||||
|
||||
-- open a new buffer
|
||||
|
|
Loading…
Reference in a new issue