A
A
Alexander2015-01-28 23:59:57
git
Alexander, 2015-01-28 23:59:57

PHPStorm error when committing on windows machine, what's wrong?

Working on PHPStorm on Windows 7, git installed. Lately, I can't make commits: I get the error "Error: could not open '.git/COMMIT_EDITMSG': Permission denied"
If you delete this file, you can make a commit, but only until the next time.
Has anyone encountered a problem? How to decide?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
Nikolay, 2016-03-01
@iNickolay

I understand that it is not relevant, but suddenly someone else will come in handy.
The solution to this problem is simply to remove the "Hidden" attribute from the COMMIT_EDITMSG file.

A
Alexander Nikitin, 2015-01-29
@padla2k

and from git bash the commit is done correctly? if not, then look towards inherited ACLs. Most likely the newly created COMMIT_EDITMSG does not inherit the correct permissions from .git.

A
Alexander, 2015-01-29
@neokortex

I didn’t check it through git bash, but through git gui everything is ok.

I
Ivan Bogachev, 2017-08-21
@volkov_p_v

Just Do It!

In general, the idea of ​​using clip-path is a good idea, but... if your background is really white....
(I took the dimensions from my head, they don't make sense)
.test {
    margin: 100px;
    height: 200px;
    width:  600px;
    transform: perspective(600px) rotateY(45deg);
    border-top-left-radius:    50px 100px;
    border-bottom-left-radius: 50px 100px;
    overflow: hidden;
    background: #000;
}

.test::after {
    background: #fff;
    content: '';
    display: block;
    height: 120%;
    width: 30%;
    transform: translateX(75%) translateY(-10%);
    float: right;
    border-radius: 50%;
}

273d37ed0c98421996e1600752619040.pngcode pen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question