mirror of
https://github.com/git/git.git
synced 2025-03-15 17:32:30 +00:00
Both of these scripts will end up resetting the index to some specific head, and any unresolved merge will be forgotten.
6 lines
110 B
Bash
Executable File
6 lines
110 B
Bash
Executable File
#!/bin/sh
|
|
: ${GIT_DIR=.git}
|
|
git-read-tree --reset HEAD
|
|
git-update-cache --refresh
|
|
rm -f "$GIT_DIR/MERGE_HEAD"
|