
# git commit -m "Initial commit"
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@8b4ed5e4957e.(none)')
If you are trying to commit code to your git repository and you get Author identity unknown, then simply follow the two command instructions displayed.
Step 1: set user emailIn the terminal run the below command with your email id for git,
git config --global user.email "you@example.com"
Step 2: set user name
In the terminal run the below command with your email id for git,
git config --global user.name "user name"
Now try to do a commit on your local branch,
% git commit -m "initial commit"
[master (root-commit) 3ebcd44] initial commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 MyClass.java
- [Fixed] Git Clone git@github.com: Permission denied (publickey) Could not read from remote repository Fatal error
- Github: How to Invite Collaborators
- Git Commit - Author identity unknown, Please tell me who you are email
- [Solution] fatal: not a git repository (or any of the parent directories): .git
- [fix] zsh: command not found: git
- Github: fatal: Authentication failed Support for password was removed on August 13, 2021
- Get List of all local branches git command
- Git Revision Questions Before the Interview
- git fatal: Authentication failed error [fix]
- How to Install Git on Ubuntu Linux
- GitHub: How to Search Code
- How to change Git Default Author and Committer details in Eclipse
- How to check your installed version of Git
- Install GitHub Command Line Tool on Mac
- How to Merge Branch into Master Branch
- Perform an Empty Commit in Git without anything in Staging Area
- Git Fix: fatal: refusing to merge unrelated histories Error
- How to undo last Git Commit on Local Repository?
- git command to remove/unstage files from staging area
- Step-by-Step: Setting up Docker + Ubuntu Linux + Git + GitHub Tutorial
- Remove git config at Local, Global or System Levels?
- Fix [oh-my-zsh] Cant update: not a git repository
- Git Config Command - A Deep Dive
- fatal: Unable to create '/c/git_repo/.git/index.lock': File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier.
- How to change directory in Git bash
- How to Stop Photos App from auto loading when device connected to the Mac - Mac-OS-X
- Power of Print Statements in JavaScript: A Comprehensive Guide - JavaScript
- bash: netstat: command not found - Bash
- Java - How to set custom thread name? - Java
- 7 deadly java.lang.OutOfMemoryError in Java Programming - Java
- incorrect line ending: found carriage return (\r) without corresponding newline (\n) - Android
- [Tutorial] Install Python on Visual Studio Code (VS Code) - Python
- SharePoint Excel error - The workbook cannot be opened because it contains the following features that are not supported by Excel in the browser - SharePoint