reason:
In Git online warehouse, online and offline files are not synchronized
Solution:
(1) Git pull — rebase origin master pull online warehouse
(2)git add .
(3)git commit – m ‘first-commit’
(4) Git push – U origin master
Read More:
- Solve git upload file error [rejected] master -> master (fetch first) error: failed to push some refs to ‘
- Push to origin/Master was rejected [How to Solve]
- [How to Solve] Git Push stuck in ‘writing objects’
- Git initializes the local existing project
- Git Push Error: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
- [Solved] error: src refspec [email protected] does not match any
- Git error bad signature [How to Solve]
- [Git] Solve git branch -M main error: refname refs/heads/master not found
- [Solved] Git Error: OpenSSL SSL_read: Connection was reset, errno 10054和Failed to connect to github.com port 443
- Git error when switching branches: Your local changes to the following files would be overwritten by checkout
- [Solved] Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- [Solved] fatal: not a git repository (or any of the parent directories): .git
- Git error: unpack failed: error Missing tree [How to Solve]
- Git commit – M ‘upload submit times error command “husky run” not found.
- AFTER THE GIT SOURCE CODE IS INSTALLED, AN ERROR IS REPORTED /USR/BIN/GIT: NO SUCH FILE OR DIRECTORY
- [Solved] Git Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- Solution of GIT pull code exception
- Git pull error: Your local changes to the following files would be overwritten by me
- Git-2.16.1.2-64-bit Error: cannot spawn git: Function not implemented
- [Solved] git error – remote: http basic: access denied