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
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:
- Error: your local changes to the following files would be rewritten by merge solution
- Git removes the content of stash
- Git Pull Failed solution
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- How can IntelliJ idea completely delete a project
- Cannot remove : Input/output error
- You need to resolve your current index first
- Android:More than one file was found with OS independent path ‘res/values/values.xml
- You have not concluded your merge (MERGE_HEAD exists)
- Git – remove and trace files
- Docker machine install syntax error near unexpected token ‘newline’! DOCTYPE HTML problem resolution
- Idea update failure problem: couldn’t save uncommitted changes solution
- Error: You have not concluded your merge (MERGE_HEAD exists)
- How to use vimdiff to solve conflict?
- GitHub desktop upload file error commit failed – exit code 1 received
- Pull is not possible because you have unmerged files
- Git pull error: pull is not possible because you have unmerged files
- Prompt 550 remove directory operation failed when FTP delete folder
- Installing and uninstalling nodejs in Linux