Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

cannot commit #425

Closed
tom0dea opened this issue Apr 1, 2016 · 9 comments
Closed

cannot commit #425

tom0dea opened this issue Apr 1, 2016 · 9 comments
Labels

Comments

@tom0dea
Copy link

tom0dea commented Apr 1, 2016

I'm on Windows 7, running latest atom and git plus. Whenever I try to commit I get the following message:
fatal: could not read log file 'C:\repos\project01\.git\COMMIT_EDITMSG': No such file or directory

If I have that directory open, I see the COMMIT_EDITMSG file being created, then it disappears and I get the error.

@hkinks
Copy link

hkinks commented Apr 8, 2016

Same issue here. (Windows 10)

@daniesteban
Copy link

daniesteban commented May 4, 2016

+1
Windows 7 wit Atom 1.7.3 and git-plus 5.13.4.
I have the git binaries in Windows environment variables/path.
error_commit

@rickmed
Copy link

rickmed commented May 8, 2016

+1

EDIT: when I run atom as administrator it works

@Harry-Harrison
Copy link

Also getting this 😞

@andrewmartin
Copy link

👍 here too

@lucacorti
Copy link

+1

@jonomacx
Copy link

jonomacx commented Oct 13, 2016

+1

I have attempted this using Atom while opened as Administrator which does not work.

I have uninstalled git-plus completely and reinstalled but still experiencing this issue.

The folder described in the "fatal: could not read log file" does exist, and I can see the COMMIT_EDITMSG being created in the Atom file view side bar, and also in Windows Explorer. The issue occurs when I attempt to close and save the COMMIT_EDITMSG file which previously was initiating the commit ok.

Manually committing the file from the cmd line using GIT COMMIT works fine.

I've only recently started using Git so I'm still unsure of a lot of the commands, however the issue appeared to start when a local repo somehow appeared to exist instead of all commits going to my remote bitbucket repo. The commit process began to question which repo I wished to upload to. This dual repo listing appears to have gone away now, but now the Fatal error message is appearing always within Atom.

UPDATE:
The first commit of the morning after I posted the above message has worked using git-plus in Atom. Unfortunately subsequent ones have failed again with the same issue.

@akonwi
Copy link
Owner

akonwi commented Nov 8, 2016

@jonomacx I don't understand this part:

I've only recently started using Git so I'm still unsure of a lot of the commands, however the issue appeared to start when a local repo somehow appeared to exist instead of all commits going to my remote bitbucket repo. The commit process began to question which repo I wished to upload to. This dual repo listing appears to have gone away now, but now the Fatal error message is appearing always within Atom.

If you have multiple remote destinations configured for the repository, then when you try to push you will be given the choice of where to push. If you're using the Add all commit and push option that sounds right to me. Is that what you're doing?

Unfortunately I can't replicate this and I don't have a windows machine to try it out on.

@akonwi akonwi added the windows label Nov 8, 2016
@jonomacx
Copy link

jonomacx commented Nov 9, 2016

Hi @akonwi ,

The issue has been resolved for me by following your instructions on #224

Thank you for your time investigating and for still working on the product!

@akonwi akonwi added the stale label Dec 9, 2016
@akonwi akonwi closed this as completed Dec 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

9 participants