Please commit your changes or stash them before you merge git restore local deleted files code example Example: git stash changes before merge git stash pop