Git stash temporary storage recovery and file deletion recovery

The server returns a local file that has been modified.
1. Git Stash: Hold local code
2, git pull origin develop: get the remote branch code
3. Git Stash Pop: Restores previously saved files
 
Git accidentally deletes files and restores instructions
1, git FSCK — lost-found: View recently removed files
2, git show ‘delete number by mistake’ : view the contents of deleted files
Git merge: merge the contents of a file that was deleted by mistake

Read More: