fatal: not a git repositoryfatal: not a git repository
The current directory is not inside a Git repository.
239 error codes for the linux platform
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.
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.
Exit Code 0The container process exited successfully with no errors.
Exit Code 1The container process exited with a general error.
Exit Code 2The container process exited due to a misuse of a shell command.
Exit Code 125The Docker daemon itself encountered an error before the container process could start.
Exit Code 126The container's command was found but could not be executed.
Exit Code 127The container's command was not found.
Exit Code 128The container process received an invalid exit signal.
Exit Code 130The container was terminated by Ctrl+C (SIGINT, signal 2).
Exit Code 137The container was killed with SIGKILL (signal 9), commonly due to out-of-memory (OOM) conditions.
Exit Code 139The container crashed with a segmentation fault (SIGSEGV, signal 11).
Exit Code 143The container was terminated gracefully with SIGTERM (signal 15).
Exit Code 255The container exited with an unspecified or unknown error.
Cannot connect to the Docker daemonThe Docker client cannot communicate with the Docker daemon process.
permission denied while trying to connect to Docker daemonThe current user does not have permission to access the Docker daemon socket.
Error: No such imageThe specified Docker image does not exist locally.
Error: No such containerThe specified container ID or name does not exist.
Error: pull access deniedDocker cannot pull the image because of authentication or authorization issues.
Error: port is already allocatedThe host port you are trying to bind is already in use by another process or container.
Error: network not foundThe specified Docker network does not exist.
Error: No such volumeThe specified Docker volume does not exist.
Error: volume is in useThe Docker volume cannot be removed because it is still mounted by a container.
OOMKilled: trueThe Linux kernel's OOM killer terminated the container because it exceeded its memory limit.
Error: no space left on deviceThe Docker host has run out of disk space.
Error: Cannot locate specified DockerfileDocker build cannot find the Dockerfile in the specified location.
Error: build context too largeThe Docker build context directory contains too many files or is too large.
Warning: build-arg not used in buildA --build-arg was passed to docker build but no matching ARG instruction was found in the Dockerfile.
COPY failed: file not found in build contextA COPY instruction in the Dockerfile could not find the specified file in the build context.
Error: pull access denied for base imageThe base image specified in the FROM instruction could not be found or accessed.
Error: no configuration file providedDocker Compose cannot find a docker-compose.yml or compose.yaml file.
Error: yaml: unmarshal errorsThe Docker Compose file contains invalid YAML syntax.
Error: no such serviceThe specified service name does not exist in the Docker Compose file.
Error: service dependency failed to startA service that another service depends on failed to start.
Warning: Found orphan containersDocker Compose found containers from a previous configuration that are no longer defined.
Error: container is already runningYou tried to start a container that is already running.
Error: container is not runningAn operation that requires a running container was attempted on a stopped container.
Error: Conflict. The container name is already in useA container with the specified name already exists (running or stopped).
exec format errorThe container tried to execute a binary that is incompatible with its platform architecture.
Error: manifest not foundThe image manifest could not be found in the registry.
Error: DNS resolution failedA container could not resolve a hostname via DNS.
Error: connection refused between containersA container could not connect to another container on the network.
health status: unhealthyThe container's health check is failing, indicating the service inside is not healthy.
Error: layer not foundA layer referenced by an image could not be found in the local cache or registry.
Error: ENTRYPOINT not foundThe entrypoint binary or script specified in the image does not exist.
Error: read-only file systemAn attempt to write to the container's filesystem failed because it is mounted as read-only.
Error: too many open files in containerThe container exceeded its file descriptor limit.
Error: target stage not found in DockerfileThe specified build target does not match any stage name in the Dockerfile.
Error: secret not foundA Docker secret referenced by a service does not exist.
Error: toomanyrequests: Rate limit exceededDocker Hub's pull rate limit has been exceeded.
WARNING: image platform does not matchThe pulled image was built for a different CPU architecture than the host.
Error: container has too many PIDsThe container exceeded its process ID limit.
Error: bind mount source path does not existThe host directory specified for a bind mount does not exist.
Error: error getting credentialsDocker's credential helper failed to retrieve stored credentials.
Error: image prune already in progressA Docker image prune operation is already running.
Error: Pool overlaps with other networkThe IP address range for a new Docker network conflicts with an existing network.
Error: cgroup memory limit exceededThe container exceeded its cgroup memory limit, which is enforced by the Linux kernel.
Error: storage driver errorDocker's storage driver encountered an error managing image layers or container filesystems.
Error: invalid IPC modeAn invalid IPC (Inter-Process Communication) mode was specified.
Error: no such deviceA device specified with --device does not exist on the host.
Error: dial tcp: lookup registry-1.docker.io: no such hostDocker cannot reach the container registry to pull or push images.
Error: net/http: TLS handshake timeoutThe TLS handshake with the Docker registry timed out.
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.
EPERMThe process does not have the required permissions to perform the requested operation.
ENOENTThe specified file or directory does not exist in the filesystem.
ESRCHNo process matching the specified process ID was found.
EINTRA blocking system call was interrupted by a signal before it could complete.
EIOA physical or low-level I/O error occurred during a read or write operation.
ENXIOThe device specified by a special file does not exist or is not configured.
E2BIGThe total size of the argument list and environment variables passed to exec() exceeds the system limit.
ENOEXECAn attempt was made to execute a file that is not in a recognized executable format.
EBADFA file descriptor argument is not a valid open file descriptor or is not open for the requested operation.
ECHILDThe calling process has no existing child processes to wait for.
EAGAINThe requested operation would block on a non-blocking resource, or a system resource is temporarily unavailable.
ENOMEMThe system does not have enough available memory to fulfill the allocation request.
EACCESThe requested access to a file or resource is not allowed by the file permissions.
EFAULTAn invalid memory address was passed to a system call as an argument.
ENOTBLKA non-block device was specified where a block device is required.
EBUSYThe requested resource is currently in use and cannot be exclusively accessed or modified.
EEXISTA file creation operation failed because a file with the specified name already exists.
EXDEVAn attempt was made to create a hard link across different filesystems.
ENODEVThe requested device type or device driver is not available in the system.
ENOTDIRA component used as a directory in a pathname is not actually a directory.
EISDIRThe operation is not permitted on a directory, but the target path is a directory.
EINVALAn invalid argument was passed to a system call or library function.
ENFILEThe system-wide limit on the total number of open files has been reached.
EMFILEThe per-process limit on the number of open file descriptors has been reached.
ENOTTYAn ioctl request was made on a file descriptor that does not support it.
ETXTBSYAn attempt was made to write to or modify a file that is currently being executed.
EFBIGThe file size exceeds the maximum allowed by the filesystem or the process resource limit.
ENOSPCThe filesystem has no more free space or inodes available for writing.
ESPIPEA seek operation was attempted on a file descriptor that does not support seeking.
EROFSAn attempt was made to modify a file or directory on a filesystem that is mounted read-only.
EMLINKThe maximum number of hard links to a single file has been exceeded.
EPIPEA write was attempted on a pipe or socket for which the reading end has been closed.
EDOMA mathematical function received an argument outside its defined domain.
ERANGEThe result of a mathematical function or conversion is too large or too small to be represented.
EDEADLKA resource deadlock would have occurred if the operation had proceeded.
ENAMETOOLONGA filename or pathname exceeds the maximum length allowed by the filesystem.
ENOLCKThe system has exhausted its pool of file locks.
ENOSYSThe requested system call or function is not implemented on this system.
ENOTEMPTYAn attempt was made to remove a directory that still contains entries.
ELOOPA pathname lookup encountered too many symbolic links during resolution.
ENOMSGNo message of the requested type is available in the message queue.
EIDRMThe IPC identifier (message queue, semaphore set, or shared memory segment) was removed.
ENOSTRA STREAMS-specific operation was attempted on a non-STREAMS file descriptor.
ENODATANo data is available from the STREAMS device or no named attribute was found.
ETIMEA STREAMS ioctl operation timed out or a real-time timer expired.
ENOSRThe system ran out of STREAMS resources needed to complete the operation.
ENOLINKA remote resource linked via a network filesystem is no longer accessible.
EPROTOA protocol error was detected at the transport or network layer.
EBADMSGA message received on a STREAMS device or messaging interface was malformed.
EOVERFLOWA value is too large to be stored in the target data type.
EILSEQAn invalid multibyte or wide character sequence was encountered during character conversion.
ECANCELEDAn asynchronous operation was canceled before it completed.
ENOBUFSThe system does not have enough network buffer space to complete the operation.
EAFNOSUPPORTThe specified address family is not supported by the protocol or socket implementation.
EPROTOTYPEThe protocol type is wrong for the socket being used.
ENOTSOCKA socket operation was attempted on a file descriptor that is not a socket.
ENOPROTOOPTThe requested protocol option is not available or not supported at the specified level.
EPROTONOSUPPORTThe specified protocol is not supported by this socket domain or is not implemented.
EOPNOTSUPPThe requested operation is not supported by the socket type or protocol.
EADDRINUSEThe specified network address and port combination is already bound by another socket.
EADDRNOTAVAILThe requested network address is not available on any local network interface.
ENETDOWNThe local network interface is down and cannot send or receive traffic.
ENETUNREACHNo route to the destination network exists in the routing table.
ENETRESETThe network connection was reset due to a network-level event.
ECONNABORTEDThe connection was aborted locally due to a software condition or timeout.
ECONNRESETThe remote host forcibly closed the connection by sending a TCP RST packet.
ECONNREFUSEDNo process is listening on the target address and port, so the connection was actively refused.
ENOTCONNA send or receive operation was attempted on a socket that is not connected.
ESHUTDOWNA send operation was attempted after the local end of the socket was shut down for writing.
ETOOMANYREFSToo many references to a kernel object prevent the operation from completing.
ETIMEDOUTA connection attempt or network operation failed because the remote host did not respond in time.
EALREADYA non-blocking connection attempt is already in progress on this socket.
EINPROGRESSA non-blocking connection attempt has been initiated and is still in progress.
EDESTADDRREQA send operation on a datagram socket was attempted without specifying a destination address.
EMSGSIZEThe message is too large to be sent atomically through the socket or transport protocol.
ESTALEA file handle references a file that has been deleted or is no longer accessible on the NFS server.
EDQUOTThe user's disk quota for the filesystem has been exceeded.
EHOSTDOWNThe destination host is down and unreachable.
EHOSTUNREACHNo route to the destination host could be found, or an ICMP host unreachable message was received.
EUSERSThe system has reached the maximum number of concurrent users.
ESOCKTNOSUPPORTThe specified socket type is not supported within the given protocol family.
EPFNOSUPPORTThe specified protocol family is not supported or not configured in the system.
EISCONNA connect() call was made on an already-connected socket.
EREMOTEIOA remote I/O operation failed due to a communication or device error.
ENOMEDIUMNo removable medium is present in the drive or device.
EMEDIUMTYPEThe medium in the device is not the type expected by the operation.
ENOTRECOVERABLEThe mutex state cannot be recovered after a previous owner died without unlocking it.
EOWNERDEADThe previous owner of a robust mutex terminated while holding the lock.
SIGHUP (1)The controlling terminal was closed or the session leader process ended.
SIGINT (2)An interrupt signal was sent, typically by pressing Ctrl+C in the terminal.
SIGQUIT (3)A quit signal was sent, typically by pressing Ctrl+\ in the terminal, producing a core dump.
SIGILL (4)The process attempted to execute an illegal, malformed, or privileged machine instruction.
SIGTRAP (5)A breakpoint or trace trap was triggered, typically during debugging.
SIGABRT (6)The process was aborted, typically by calling abort() or due to a failed assertion.
SIGBUS (7)The process attempted an invalid memory access due to misaligned access or accessing a nonexistent physical address.
SIGFPE (8)An arithmetic error occurred, such as division by zero or floating-point overflow.
SIGKILL (9)The process was unconditionally terminated. This signal cannot be caught, blocked, or ignored.
SIGUSR1 (10)A user-defined signal for application-specific purposes. The default action is to terminate.
SIGSEGV (11)The process attempted to access memory that it is not allowed to access.
SIGUSR2 (12)A second user-defined signal for application-specific purposes. The default action is to terminate.
SIGPIPE (13)The process attempted to write to a pipe or socket whose reading end has been closed.
SIGALRM (14)A timer set with alarm() or setitimer() has expired.
SIGTERM (15)A graceful termination request was sent to the process.
SIGCHLD (17)A child process has terminated, stopped, or resumed.
SIGCONT (18)A stopped process was resumed.
SIGSTOP (19)The process was unconditionally stopped. This signal cannot be caught or ignored.
SIGTSTP (20)A stop signal from the terminal, typically Ctrl+Z. Unlike SIGSTOP, this can be caught.
SIGTTIN (21)A background process attempted to read from its controlling terminal.
SIGTTOU (22)A background process attempted to write to its controlling terminal when TOSTOP is set.
SIGURG (23)Urgent or out-of-band data arrived on a socket.
SIGXCPU (24)The process exceeded its soft CPU time limit.
SIGXFSZ (25)The process attempted to create a file larger than allowed.
SIGVTALRM (26)A virtual timer set with setitimer(ITIMER_VIRTUAL) expired.
SIGWINCH (28)The terminal window size changed.
SIGIO (29)A file descriptor is ready for I/O, used with signal-driven async I/O.
SIGPWR (30)A power failure was detected, typically from a UPS notification.
SIGSYS (31)The process made an invalid system call or one blocked by a seccomp filter.
Exit 0The process completed successfully with no errors.
Exit 1The process exited with a general, unspecified error.
Exit 2A shell built-in was used incorrectly, or a command returned a usage error.
Exit 126The command was found but is not executable.
Exit 127The command was not found in any PATH directory.
Exit 128An invalid argument was passed to exit, or the process was killed by a signal (128+N).
Exit 130The process was terminated by SIGINT (signal 2), typically from Ctrl+C.
Exit 137The process was forcibly killed by SIGKILL (signal 9).
Exit 139The process crashed due to a segmentation fault (signal 11).
Exit 141The process was terminated by SIGPIPE (signal 13) due to a broken pipe.
Exit 143The process was terminated by SIGTERM (signal 15).
Exit 255The exit status is out of the valid range (0-255), or SSH returned a fatal error.
SIGPROF (27)A profiling timer set with setitimer(ITIMER_PROF) expired.