Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
microsoft / vscode Public
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author identity unknown error when git config is properly set #114168
vicchimenti opened this issue Jan 11, 2021 · 4 comments
Author identity unknown error when git config is properly set #114168
vicchimenti opened this issue Jan 11, 2021 · 4 comments
*as-designed Described behavior is as designed
Comments
vicchimenti commented Jan 11, 2021
- VSCode Version: Version: 1.52.1 (user setup)
Commit: ea3859d
Date: 2020-12-16T16:34:46.910Z - OS Version: Windows_NT x64 10.0.19041
Steps to Reproduce:
- Cloned github repo
- make changes to any file and save
- commit changes via Source Control
- Get this error: *** Please tell me who you are.
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: no email was given and auto-detection is disabled
When I check the git config everything looks good: $ git config —list —show-origin
file:/home/victor/.gitconfig user.name=vicchimenti
file:/home/victor/.gitconfig user.email=myname@email.com
file:.git/config core.repositoryformatversion=0
file:.git/config core.filemode=false
file:.git/config core.bare=false
file:.git/config core.logallrefupdates=true
file:.git/config core.ignorecase=true
file:.git/config remote.origin.url=https://github.com/vicchimenti/law-newsroom.git
file:.git/config remote.origin.fetch=+refs/heads/:refs/remotes/origin/
file:.git/config branch.master.remote=origin
file:.git/config branch.master.merge=refs/heads/master
Does this issue occur when all extensions are disabled?: Yes/No Need the Git Hub extension active to use Source Control
The text was updated successfully, but these errors were encountered:
Can’t finish github sharing process [duplicate]
I’m trying to share one of my IntelliJ projects on GitHub, but whenever I try to do that, I get an error that says it successfully created the project but initial commit failed. It gives me instructions on how to fix this, but I have no idea what the instructions mean. Can anyone decipher the error and tell me what to do? Here is the error:
Can't finish GitHub sharing process Successfully created project 'basic-program' on GitHub, but initial commit failed: *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. unable to auto-detect email address (got 'Owner@****.(none)')
asked Feb 23, 2021 at 21:21
35 1 1 silver badge 6 6 bronze badges
Have you tried running the command from the error message (i.e. git config . )?
Feb 23, 2021 at 21:40
Please include the error message as text next time and add the picture ogtionally for clarification. That way other people will be able to find your Question and the answers when they search for the exact error.
Feb 23, 2021 at 22:39
1 Answer 1
Basically, before you can create a commit, git needs to know who you are and how to refer to you. To tell git who you are, run the following commands.
Set the user name:
git config --global user.name "Firstname Lastname"
After that you will be able to create commits. Probably you can just rerun whatever you did that lead to this error.
Further reference for git config command
—global will make every git repository on your local machine for the current user use this (e.g. user.name) value. Overrides system config if this value is set.
—local (or just nothing, since this is the default) will make only the current git repository on your local machine use this (e.g. user.name) value. Overrides global and system config if this value is set.
—system will make every git repository on your local machine for all users use this (e.g. user.name) value.
Как запушить файлы на github при помощи phpstorm?
Делаю add, делаю commit, делаю push — и тут выскакивает ошибка связанная с SSH.
19:20 Can’t finish GitHub sharing process
Successfully created project ‘MyFirstProjectd’ on GitHub, but initial push failed:
The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
- Вопрос задан более трёх лет назад
- 797 просмотров
Как исравить ошибку Phpstorm при расшаривании проекта на github — Successfully created project on GitHub, but initial push failed?
Создал пробный аккаунт в Github, и получилось из Phpstorm создать приватный репозиторий и залить проект. Но!
Решил перекинуть проект на свой рабочий аккаунт github и тут начали возникать сюрпризы:
При расшаривании приватного проекта — проект создается, но не заливается, пишет ошибку:
Can't finish GitHub sharing process Successfully created project 'test-007' on GitHub, but initial push failed: repository 'https://github.com/user-name/test-007.git/' not found
Как это исправить, что делаю не так?
- Вопрос задан более трёх лет назад
- 127 просмотров