fatal: not a git repositoryfatal: not a git repository
The current directory is not inside a Git repository.
Перегляньте всі 50 кодів помилок Помилки Git з причинами, виправленнями та прикладами.
fatal: not a git repositoryThe current directory is not inside a Git repository.
CONFLICT (content): Merge conflictGit could not automatically merge changes because the same lines were modified in both branches.
You are in 'detached HEAD' stateHEAD is pointing to a specific commit rather than a branch, meaning new commits will be orphaned.
fatal: refusing to merge unrelated historiesGit refuses to merge two branches that do not share a common ancestor.
error: Your local changes would be overwrittenGit refuses to perform an operation because it would overwrite uncommitted local changes.
error: failed to push some refsThe push was rejected because the remote has changes you do not have locally.
error: non-fast-forward updateThe push would rewrite history on the remote branch and is rejected.
fatal: A branch named 'x' already existsA branch with the specified name already exists in the repository.
error: Cannot delete branch currently checked outYou cannot delete the branch you are currently on.
nothing to commit, working tree cleanThere are no changes to commit; the working directory matches the last commit.
error: empty commit messageThe commit was aborted because the commit message is empty.
fatal: ambiguous argumentGit cannot determine if the argument refers to a revision, path, or something else.
fatal: bad revisionThe specified revision (commit hash, branch name, tag) does not exist.
fatal: remote origin already existsA remote with the specified name is already configured.
fatal: 'origin' does not appear to be a git repositoryGit could not connect to the specified remote repository.
fatal: Authentication failedGit authentication with the remote server failed.
Permission denied (publickey)SSH authentication failed because the server did not accept your public key.
fatal: unable to access: Could not resolve hostDNS resolution failed for the Git remote host.
error: could not apply commitA conflict occurred while applying a commit during rebase.
error: could not apply (cherry-pick)A conflict occurred while cherry-picking a commit.
fatal: Unable to create lock fileA Git lock file (.lock) exists, preventing the operation.
error: object file is emptyA Git object file is corrupted and contains no data.
error: corrupt loose objectA Git object file is corrupted and cannot be read.
error: pathspec did not match any filesThe specified file pattern did not match any tracked files.
error: LFS object not foundA Git LFS tracked file could not be downloaded from the LFS server.
fatal: No submodule mapping foundGit submodules are referenced but not properly initialized.
remote: error: File is too largeA file exceeds the maximum file size allowed by the remote hosting service.
fatal: shallow update not allowedA push from a shallow clone was rejected because the remote does not allow shallow updates.
error: cannot rebase: You have unstaged changesGit refuses to rebase because there are uncommitted changes in the working directory.
fatal: bad objectThe referenced Git object does not exist or is corrupted.
There is no tracking information for the current branchThe current branch is not set up to track a remote branch.
Already up to date.The branch already has all the changes from the branch you tried to merge or pull.
fatal: refusing to merge unrelated historiesGit refuses to merge branches that do not share a common ancestor commit.
remote: error: hook declined to updateA server-side Git hook rejected the push.
remote: error: GH006: Protected branch update failedA push to a protected branch was rejected due to branch protection rules.
fatal: Not possible to fast-forward, abortingA pull with --ff-only failed because the branches have diverged.
fatal: tag already existsA tag with the specified name already exists.
No local changes to saveGit stash found no modified tracked files to stash.
error: No stash entries foundThere are no stashed changes to apply or pop.
warning: CRLF will be replaced by LFGit is converting line endings from Windows-style (CRLF) to Unix-style (LF).
fatal: This operation must be run in a work treeThe operation requires a working tree but the repository is bare (no working directory).
error: unable to find objectA Git object referenced in the repository could not be found.
fatal: branch is already checked out at another worktreeThe branch cannot be checked out because it is already checked out in another worktree.
warning: Large files detectedGit detected large files that may cause repository bloat.
error: gpg failed to sign the dataGit could not sign the commit or tag using GPG.
fatal: refname is not a valid ref nameThe branch or tag name contains invalid characters.
error: Entry has been modified in the work treeA Git operation was blocked because files in the working tree have been modified.
error: pack exceeds maximum allowed sizeA Git pack operation exceeded the maximum allowed size.
error: sparse-checkout is not enabledA sparse-checkout operation was attempted but the feature is not enabled.
fatal: index file corruptThe Git index file (.git/index) is corrupted.