linutil/cargo-lock-merge.txt
2024-09-10 16:08:05 -05:00

5 lines
222 B
Plaintext

What to do when you have a Cargo.lock merge conflict?
1. `git checkout origin/main -- Cargo.lock` to get the original Cargo.lock
2. `cargo build` to update Cargo.lock
3. `git add Cargo.lock`
4. continue the merge as normal