Skip to content

Commit 272dab5

Browse files
committed
Fix automatic update of the submodule
1 parent e893786 commit 272dab5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Download a large language model (LLM) with weights in the GGML format into the `
8686

8787
## Usage
8888

89-
### Chat
89+
### Chat via CLI
9090

9191
You can now chat with the model:
9292

rebuild_llama.cpp.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ function Resolve-UnixPath {
5454
Write-Output ((Resolve-Path "$path").Path -replace '\\','/')
5555
}
5656

57+
# We are resetting every submodule to their head prior
58+
# to updating them to avoid any merge conflicts.
59+
git submodule foreach --recursive git reset --hard
60+
5761
git submodule update --remote --merge --force
5862

5963
$lines = @(

vendor/llama.cpp

0 commit comments

Comments
 (0)